iDnxWlm Struct Reference

The implementation of a work load manager object. More...


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.


Detailed Description

The implementation of a work load manager object.

Definition at line 91 of file dnxWLM.c.


Field Documentation

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().

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().

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().

The number of threads created.

Definition at line 101 of file dnxWLM.c.

Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and growThreadPool().

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().

The number of jobs received.

Definition at line 105 of file dnxWLM.c.

Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().

The minimum execution time.

Definition at line 106 of file dnxWLM.c.

Referenced by dnxWlmCreate(), dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().

The avg execution time.

Definition at line 107 of file dnxWLM.c.

Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().

The maximum execution time.

Definition at line 108 of file dnxWLM.c.

Referenced by dnxWlmGetStats(), dnxWlmResetStats(), and dnxWorker().

The avg number of threads in existence.

Definition at line 109 of file dnxWLM.c.

Referenced by dnxWlmGetStats(), and dnxWlmResetStats().

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().

The total number of packets recieved.

Definition at line 112 of file dnxWLM.c.

Referenced by dnxWlmGetStats(), and dnxWlmResetStats().

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().


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

Generated on Tue Apr 13 15:48:08 2010 for DNX by  doxygen 1.5.6