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. More...
 
int workers_ready
 Number of workers ready for tasks. More...
 
int workers_busy
 Number of workers running tasks. More...
 
int tasks_running
 Number of tasks currently running. More...
 
int tasks_waiting
 Number of tasks waiting for a CPU. More...
 
int tasks_complete
 Number of tasks waiting to be returned to user. More...
 
int total_tasks_dispatched
 Total number of tasks dispatch to workers. More...
 
int total_tasks_complete
 Total number of tasks returned complete. More...
 
int total_workers_joined
 Total number of times a worker joined the queue. More...
 
int total_workers_removed
 Total number of times a worker was removed from the queue. More...
 
INT64_T total_bytes_sent
 Total number of file bytes (not including protocol control msg bytes) sent out to the workers by the master. More...
 
INT64_T total_bytes_received
 Total number of file bytes (not including protocol control msg bytes) received from the workers by the master. More...
 
timestamp_t total_send_time
 Total time in microseconds spent in sending data to workers. More...
 
timestamp_t total_receive_time
 Total time in microseconds spent in receiving data from workers. More...
 

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::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::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: