~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to dttools/src/work_queue.h

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2012-03-30 12:40:01 UTC
  • mfrom: (9.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120330124001-ze0lhxm5uwq2e3mo
Tags: 3.4.2-2
Added patch to handle a missing CFLAGS variable in Python's sysconfig
report (Closes: #661658).

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        int result;                     /**< The result of the task (successful, failed return_status, missing input file, missing output file). */
90
90
        char *host;                     /**< The name of the host on which it ran. */
91
91
        timestamp_t submit_time;        /**< The time the task was submitted. */
92
 
        timestamp_t start_time;         /**< The time at which the task began. */
93
 
        timestamp_t finish_time;        /**< The time at which it completed. */
94
92
        timestamp_t transfer_start_time;        /**< The time at which it started to transfer input files. */
95
 
        timestamp_t computation_time;   /**< The time of executing the command. */
 
93
        timestamp_t start_time;         /**< The time representing the start of the task. Recorded as the timestamp immediately after all its input files were transferred. */
 
94
        timestamp_t finish_time;        /**< The time representing the end of the task. Recorded as the timestamp immediately after all its output files were received. */
 
95
        timestamp_t computation_time;   /**< Elapsed time between start_time and the beginning of the transfer of output files. */
96
96
        INT64_T total_bytes_transferred;/**< Number of bytes transferred since task has last started transferring input data. */
97
97
        timestamp_t total_transfer_time;    /**< Time comsumed in microseconds for transferring total_bytes_transferred. */
98
98
};
242
242
*/
243
243
int work_queue_port(struct work_queue *q);
244
244
 
 
245
/** Get the project name of the queue.
 
246
@param q The work queue of interest.
 
247
@return The project name of the queue.
 
248
*/
 
249
const char *work_queue_name(struct work_queue *q);
 
250
 
245
251
/** Get queue statistics.
246
252
@param q The queue to query.
247
253
@param s A pointer to a buffer that will be filed with statistics.