cctools
Data Fields
work_queue_stats Struct Reference

Statistics describing a work queue. More...

#include <work_queue.h>

Data Fields

int workers_init
 Number of workers initializing.
int workers_ready
 Number of workers ready for tasks.
int workers_busy
 Number of workers running tasks.
int workers_cancelling
 Number of workers aborting their tasks.
int tasks_running
 Number of tasks currently running.
int tasks_waiting
 Number of tasks waiting for a CPU.
int tasks_complete
 Number of tasks waiting to be returned to user.
int total_tasks_dispatched
 Total number of tasks dispatch to workers.
int total_tasks_complete
 Total number of tasks returned complete.
int total_workers_joined
 Total number of times a worker joined the queue.
int total_workers_removed
 Total number of times a worker was removed from the queue.
INT64_T total_bytes_sent
 Total number of file bytes (not including protocol control msg bytes) sent out to the workers by the master.
INT64_T total_bytes_received
 Total number of file bytes (not including protocol control msg bytes) received from the workers by the master.
timestamp_t start_time
 Absolute time at which the master started.
timestamp_t total_send_time
 Total time in microseconds spent in sending data to workers.
timestamp_t total_receive_time
 Total time in microseconds spent in receiving data from workers.

Detailed Description

Statistics describing a work queue.


Field Documentation

int work_queue_stats::workers_init

Number of workers initializing.

int work_queue_stats::workers_ready

Number of workers ready for tasks.

int work_queue_stats::workers_busy

Number of workers running tasks.

int work_queue_stats::workers_cancelling

Number of workers aborting their tasks.

int work_queue_stats::tasks_running

Number of tasks currently running.

int work_queue_stats::tasks_waiting

Number of tasks waiting for a CPU.

int work_queue_stats::tasks_complete

Number of tasks waiting to be returned to user.

int work_queue_stats::total_tasks_dispatched

Total number of tasks dispatch to workers.

int work_queue_stats::total_tasks_complete

Total number of tasks returned complete.

int work_queue_stats::total_workers_joined

Total number of times a worker joined the queue.

int work_queue_stats::total_workers_removed

Total number of times a worker was removed from the queue.

INT64_T work_queue_stats::total_bytes_sent

Total number of file bytes (not including protocol control msg bytes) sent out to the workers by the master.

INT64_T work_queue_stats::total_bytes_received

Total number of file bytes (not including protocol control msg bytes) received from the workers by the master.

timestamp_t work_queue_stats::start_time

Absolute time at which the master started.

timestamp_t work_queue_stats::total_send_time

Total time in microseconds spent in sending data to workers.

timestamp_t work_queue_stats::total_receive_time

Total time in microseconds spent in receiving data from workers.


The documentation for this struct was generated from the following file: