cubed.TaskEndEvent#
- class cubed.TaskEndEvent(name, num_tasks=1, result=None, task_create_tstamp=None, function_start_tstamp=None, function_end_tstamp=None, task_result_tstamp=None, peak_measured_mem_start=None, peak_measured_mem_end=None)#
Callback information about a completed task (or tasks).
- __init__(name, num_tasks=1, result=None, task_create_tstamp=None, function_start_tstamp=None, function_end_tstamp=None, task_result_tstamp=None, peak_measured_mem_start=None, peak_measured_mem_end=None)#
Methods
__init__(name[, num_tasks, result, ...])Attributes
function_end_tstampTimestamp of when the function finished executing on the remote worker.
function_start_tstampTimestamp of when the function started executing on the remote worker.
num_tasksNumber of tasks that this event applies to (default 1).
peak_measured_mem_endPeak memory usage measured on the remote worker after the function finishes executing.
peak_measured_mem_startPeak memory usage measured on the remote worker before the function starts executing.
resultReturn value of the task.
task_create_tstampTimestamp of when the task was created by the client.
task_result_tstampTimestamp of when the result of the task was received by the client.
nameName of the operation that the task is for.