dnxWLM.h File Reference

Go to the source code of this file.

Data Structures

struct  DnxWlmCfgData
 A WLM configuration data structure - passed to dnxWlmCreate. More...
struct  DnxWlmStats
 A structure for returning WLM statistics to a caller. More...
struct  DnxWlm
 An abstract data type - the external representation of a WLM object. More...

Functions

void dnxWlmResetStats (DnxWlm *wlm)
 Reset all WLM statistics counters.
void dnxWlmGetStats (DnxWlm *wlm, DnxWlmStats *wsp)
 Return a snapshot of WLM statistics.
int dnxWlmReconfigure (DnxWlm *wlm, DnxWlmCfgData *cfg)
 Reconfigure an existing Work Load Manager object.
int dnxWlmCreate (DnxWlmCfgData *cfg, DnxWlm **pwlm)
 Creates a new Work Load Manager object.
void dnxWlmDestroy (DnxWlm *wlm)
 The main thread routine for the work load manager.


Function Documentation

int dnxWlmCreate ( DnxWlmCfgData cfg,
DnxWlm **  pwlm 
)

Creates a new Work Load Manager object.

Parameters:
[in] cfg - a reference to the WLM configuration data structure.
[out] pwlm - the address of storage for the returned WLM object.
Returns:
Zero on success, or a non-zero error value.

Definition at line 676 of file dnxWLM.c.

void dnxWlmDestroy ( DnxWlm wlm  ) 

The main thread routine for the work load manager.

Parameters:
[in] wlm - the work load manager object to be destroyed.

Definition at line 769 of file dnxWLM.c.

void dnxWlmGetStats ( DnxWlm wlm,
DnxWlmStats wsp 
)

Return a snapshot of WLM statistics.

Parameters:
[in] wlm - the Work Load Manager whose stats are to be returned.
[out] wsp - the address of storage for the WLM stats to be returned.

Definition at line 591 of file dnxWLM.c.

int dnxWlmReconfigure ( DnxWlm wlm,
DnxWlmCfgData cfg 
)

Reconfigure an existing Work Load Manager object.

Parameters:
[in] wlm - the work load manager object to be reconfigured.
[in] cfg - the new configuration parameters.
Returns:
Zero on success, or a non-zero error value.

Definition at line 620 of file dnxWLM.c.

void dnxWlmResetStats ( DnxWlm wlm  ) 

Reset all WLM statistics counters.

Parameters:
[in] wlm - the Work Load Manager whose stats counters are to be reset.

Definition at line 572 of file dnxWLM.c.


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