Data Fields | |
DnxWlmCfgData | cfg |
WLM configuration parameters. | |
DnxWorkerStatus ** | pool |
The thread pool context list. | |
pthread_mutex_t | mutex |
The thread pool sync mutex. | |
unsigned | jobtm |
Total amount of thread time processing jobs. | |
unsigned | threadtm |
Total amount of thread life time. | |
unsigned | jobsok |
The number of successful jobs, so far. | |
unsigned | jobsfail |
The number of failed jobs so far. | |
unsigned | active |
The current number of active threads. | |
unsigned | tcreated |
The number of threads created. | |
unsigned | tdestroyed |
The number of threads destroyed. | |
unsigned | threads |
The current number of thread status objects. | |
unsigned | reqsent |
The number of requests sent. | |
unsigned | jobsrcvd |
The number of jobs received. | |
unsigned | minexectm |
The minimum execution time. | |
unsigned | avgexectm |
The avg execution time. | |
unsigned | maxexectm |
The maximum execution time. | |
unsigned | avgthreads |
The avg number of threads in existence. | |
unsigned | avgactive |
The avg number of active threads. | |
unsigned | poolsz |
The allocated size of the pool array. | |
unsigned | packets_in |
The total number of packets recieved. | |
unsigned | packets_out |
The total number of packets send. | |
int | terminate |
The pool termination flag. | |
unsigned long | myipaddr |
Binary local address for identification. | |
char | myipaddrstr [MAX_IP_ADDRSZ] |
String local address for presentation. |
Definition at line 91 of file dnxWLM.c.
WLM configuration parameters.
Definition at line 93 of file dnxWLM.c.
Referenced by dnxWlmCreate(), dnxWlmDestroy(), dnxWlmReconfigure(), dnxWorker(), growThreadPool(), and initWorkerComm().
The thread pool context list.
Definition at line 94 of file dnxWLM.c.
Referenced by cleanThreadPool(), dnxWlmCreate(), dnxWlmDestroy(), dnxWlmReconfigure(), and growThreadPool().
pthread_mutex_t iDnxWlm::mutex |
The thread pool sync mutex.
Definition at line 95 of file dnxWLM.c.
Referenced by dnxWlmCreate(), dnxWlmDestroy(), dnxWlmGetStats(), dnxWlmReconfigure(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::jobtm |
Total amount of thread time processing jobs.
Definition at line 96 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::threadtm |
Total amount of thread life time.
Definition at line 97 of file dnxWLM.c.
Referenced by cleanThreadPool(), dnxWlmGetStats(), and dnxWlmResetStats().
unsigned iDnxWlm::jobsok |
The number of successful jobs, so far.
Definition at line 98 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::jobsfail |
The number of failed jobs so far.
Definition at line 99 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::active |
The current number of active threads.
Definition at line 100 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), and dnxWorker().
unsigned iDnxWlm::tcreated |
The number of threads created.
Definition at line 101 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and growThreadPool().
unsigned iDnxWlm::tdestroyed |
The number of threads destroyed.
Definition at line 102 of file dnxWLM.c.
Referenced by cleanThreadPool(), dnxWlmGetStats(), and dnxWlmResetStats().
unsigned iDnxWlm::threads |
The current number of thread status objects.
Definition at line 103 of file dnxWLM.c.
Referenced by cleanThreadPool(), dnxWlmCreate(), dnxWlmDestroy(), dnxWlmGetStats(), dnxWlmReconfigure(), dnxWorker(), and growThreadPool().
unsigned iDnxWlm::reqsent |
The number of requests sent.
Definition at line 104 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::jobsrcvd |
The number of jobs received.
Definition at line 105 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::minexectm |
The minimum execution time.
Definition at line 106 of file dnxWLM.c.
Referenced by dnxWlmCreate(), dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::avgexectm |
The avg execution time.
Definition at line 107 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::maxexectm |
The maximum execution time.
Definition at line 108 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().
unsigned iDnxWlm::avgthreads |
The avg number of threads in existence.
Definition at line 109 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), and dnxWlmResetStats().
unsigned iDnxWlm::avgactive |
The avg number of active threads.
Definition at line 110 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), and dnxWlmResetStats().
unsigned iDnxWlm::poolsz |
The allocated size of the pool array.
Definition at line 111 of file dnxWLM.c.
Referenced by dnxWlmCreate(), and dnxWlmReconfigure().
unsigned iDnxWlm::packets_in |
The total number of packets recieved.
Definition at line 112 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), and dnxWlmResetStats().
unsigned iDnxWlm::packets_out |
The total number of packets send.
Definition at line 113 of file dnxWLM.c.
Referenced by dnxWlmGetStats(), and dnxWlmResetStats().
The pool termination flag.
Definition at line 114 of file dnxWLM.c.
Referenced by dnxWlmDestroy(), and dnxWorker().
unsigned long iDnxWlm::myipaddr |
Binary local address for identification.
Definition at line 115 of file dnxWLM.c.
Referenced by dnxWlmCreate(), and dnxWorker().
char iDnxWlm::myipaddrstr[MAX_IP_ADDRSZ] |
String local address for presentation.
Definition at line 116 of file dnxWLM.c.
Referenced by dnxWlmCreate(), and dnxWorker().