work_queue_task Struct Reference

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 listinput_files
 The files to transfer to the worker and place in the executing directory.
struct listoutput_files
 The output files (other than the standard output stream) created by the program expected to be retrieved from the task.
char * preferred_host
 The hostname where the task should preferrentially be run.
int taskid
 A unique task id number.
int status
 Current status of the task.
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 submit_time
 The time the task was submitted.
timestamp_t start_time
 The time at which the task began.
timestamp_t finish_time
 The time at which it completed.
timestamp_t transfer_start_time
 The time at which it started to transfer input files.
timestamp_t computation_time
 The time of executing the command.
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.

Detailed Description

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.


Field Documentation

An optional user-defined logical name for the task.

The program(s) to execute, as a shell command line.

How to choose worker to run the task.

The standard output of the task.

The files to transfer to the worker and place in the executing directory.

The output files (other than the standard output stream) created by the program expected to be retrieved from the task.

The hostname where the task should preferrentially be run.

A unique task id number.

Current status of the task.

The exit code of the command line.

The result of the task (successful, failed return_status, missing input file, missing output file).

The name of the host on which it ran.

The time the task was submitted.

The time at which the task began.

The time at which it completed.

The time at which it started to transfer input files.

The time of executing the command.

Number of bytes transferred since task has last started transferring input data.

Time comsumed in microseconds for transferring total_bytes_transferred.


The documentation for this struct was generated from the following file:
Generated on Sun Aug 14 20:55:54 2011 for cctools by  doxygen 1.6.3