cctools
|
A task description. More...
#include <work_queue.h>
Data Fields | |
char * | tag |
An optional user-defined logical name for the task. | |
char * | command_line |
The program(s) to execute, as a shell command line. | |
int | worker_selection_algorithm |
How to choose worker to run the task. | |
char * | output |
The standard output of the task. | |
struct list * | input_files |
The files to transfer to the worker and place in the executing directory. | |
struct list * | output_files |
The output files (other than the standard output stream) created by the program expected to be retrieved from the task. | |
int | taskid |
A unique task id number. | |
int | return_status |
The exit code of the command line. | |
int | result |
The result of the task (successful, failed return_status, missing input file, missing output file). | |
char * | host |
The name of the host on which it ran. | |
timestamp_t | time_task_submit |
The time at which this task was submitted. | |
timestamp_t | time_task_finish |
The time at which this task was finished. | |
timestamp_t | time_app_delay |
time spent in upper-level application (outside of work_queue_wait)> | |
timestamp_t | time_send_input_start |
The time at which it started to transfer input files. | |
timestamp_t | time_send_input_finish |
The time at which it finished transferring input files. | |
timestamp_t | time_execute_cmd_start |
The time at which the task began. | |
timestamp_t | time_execute_cmd_finish |
The time at which the task finished (discovered by the master). | |
timestamp_t | time_receive_output_start |
The time at which it started to transfer output files. | |
timestamp_t | time_receive_output_finish |
The time at which it finished transferring output files. | |
INT64_T | total_bytes_transferred |
Number of bytes transferred since task has last started transferring input data. | |
timestamp_t | total_transfer_time |
Time comsumed in microseconds for transferring total_bytes_transferred. | |
timestamp_t | cmd_execution_time |
Time spent in microseconds for executing the command on the worker. |
A task description.
This structure should only be created with work_queue_task_create and delete with work_queue_task_delete. You may examine (but not modify) this structure once a task has completed.
char* work_queue_task::tag |
An optional user-defined logical name for the task.
char* work_queue_task::command_line |
The program(s) to execute, as a shell command line.
int work_queue_task::worker_selection_algorithm |
How to choose worker to run the task.
char* work_queue_task::output |
The standard output of the task.
struct list* work_queue_task::input_files |
The files to transfer to the worker and place in the executing directory.
struct list* work_queue_task::output_files |
The output files (other than the standard output stream) created by the program expected to be retrieved from the task.
int work_queue_task::taskid |
A unique task id number.
int work_queue_task::return_status |
The exit code of the command line.
int work_queue_task::result |
The result of the task (successful, failed return_status, missing input file, missing output file).
char* work_queue_task::host |
The name of the host on which it ran.
timestamp_t work_queue_task::time_task_submit |
The time at which this task was submitted.
timestamp_t work_queue_task::time_task_finish |
The time at which this task was finished.
timestamp_t work_queue_task::time_app_delay |
time spent in upper-level application (outside of work_queue_wait)>
timestamp_t work_queue_task::time_send_input_start |
The time at which it started to transfer input files.
timestamp_t work_queue_task::time_send_input_finish |
The time at which it finished transferring input files.
timestamp_t work_queue_task::time_execute_cmd_start |
The time at which the task began.
timestamp_t work_queue_task::time_execute_cmd_finish |
The time at which the task finished (discovered by the master).
timestamp_t work_queue_task::time_receive_output_start |
The time at which it started to transfer output files.
timestamp_t work_queue_task::time_receive_output_finish |
The time at which it finished transferring output files.
INT64_T work_queue_task::total_bytes_transferred |
Number of bytes transferred since task has last started transferring input data.
timestamp_t work_queue_task::total_transfer_time |
Time comsumed in microseconds for transferring total_bytes_transferred.
timestamp_t work_queue_task::cmd_execution_time |
Time spent in microseconds for executing the command on the worker.