|
Dynamic Load Balance 3.6.1+32-59d1
|

Go to the source code of this file.
Functions | |
| int | DLB_Stats_Init (void) |
| Initialize DLB Statistics Module. More... | |
| int | DLB_Stats_Finalize (void) |
| Finalize DLB Statistics Module. More... | |
| int | DLB_Stats_GetNumCpus (int *ncpus) |
| Get the total number of available CPUs in the node. More... | |
| int | DLB_Stats_GetPidList (int *pidlist, int *nelems, int max_len) |
| Get the PID's attached to this module. More... | |
| int | DLB_Stats_GetCpuUsage (int pid, double *usage) |
| Get the CPU Usage of the given PID. More... | |
| int | DLB_Stats_GetCpuAvgUsage (int pid, double *usage) |
| Get the CPU Average Usage of the given PID. More... | |
| int | DLB_Stats_GetCpuUsageList (double *usagelist, int *nelems, int max_len) |
| Get the CPU usage of all the attached PIDs. More... | |
| int | DLB_Stats_GetCpuAvgUsageList (double *avgusagelist, int *nelems, int max_len) |
| Get the CPU Average usage of all the attached PIDs. More... | |
| int | DLB_Stats_GetNodeUsage (double *usage) |
| Get the CPU Usage of all the DLB processes in the node. More... | |
| int | DLB_Stats_GetNodeAvgUsage (double *usage) |
| Get the CPU Average Usage of all the DLB processes in the node. More... | |
| int | DLB_Stats_GetActiveCpus (int pid, int *ncpus) |
| Get the number of CPUs assigned to a given process. More... | |
| int | DLB_Stats_GetActiveCpusList (int *cpuslist, int *nelems, int max_len) |
| Get the number of CPUs assigned to each process. More... | |
| int | DLB_Stats_GetLoadAvg (int pid, double *load) |
| Get the Load Average of a given process. More... | |
| int | DLB_Stats_GetCpuStateIdle (int cpu, float *percentage) __attribute__((deprecated("Functionality no longer provided"))) |
| Get the percentage of time that the CPU has been in state IDLE. More... | |
| int | DLB_Stats_GetCpuStateOwned (int cpu, float *percentage) __attribute__((deprecated("Functionality no longer provided"))) |
| Get the percentage of time that the CPU has been in state OWNED. More... | |
| int | DLB_Stats_GetCpuStateGuested (int cpu, float *percentage) __attribute__((deprecated("Functionality no longer provided"))) |
| Get the percentage of time that the CPU has been in state GUESTED. More... | |
| int DLB_Stats_Init | ( | void | ) |
Initialize DLB Statistics Module.
| int DLB_Stats_Finalize | ( | void | ) |
Finalize DLB Statistics Module.
| int DLB_Stats_GetNumCpus | ( | int * | ncpus | ) |
Get the total number of available CPUs in the node.
| [out] | ncpus | the number of CPUs |
| int DLB_Stats_GetPidList | ( | int * | pidlist, |
| int * | nelems, | ||
| int | max_len | ||
| ) |
Get the PID's attached to this module.
| [out] | pidlist | The output list |
| [out] | nelems | Number of elements in the list |
| [in] | max_len | Max capacity of the list |
| int DLB_Stats_GetCpuUsage | ( | int | pid, |
| double * | usage | ||
| ) |
Get the CPU Usage of the given PID.
| [in] | pid | PID to consult |
| [out] | usage | the CPU usage of the given PID, or -1.0 if not found |
| int DLB_Stats_GetCpuAvgUsage | ( | int | pid, |
| double * | usage | ||
| ) |
Get the CPU Average Usage of the given PID.
| [in] | pid | PID to consult |
| [out] | usage | the CPU usage of the given PID, or -1.0 if not found |
| int DLB_Stats_GetCpuUsageList | ( | double * | usagelist, |
| int * | nelems, | ||
| int | max_len | ||
| ) |
Get the CPU usage of all the attached PIDs.
| [out] | usagelist | The output list |
| [out] | nelems | Number of elements in the list |
| [in] | max_len | Max capacity of the list |
| int DLB_Stats_GetCpuAvgUsageList | ( | double * | avgusagelist, |
| int * | nelems, | ||
| int | max_len | ||
| ) |
Get the CPU Average usage of all the attached PIDs.
| [out] | avgusagelist | The output list |
| [out] | nelems | Number of elements in the list |
| [in] | max_len | Max capacity of the list |
| int DLB_Stats_GetNodeUsage | ( | double * | usage | ) |
Get the CPU Usage of all the DLB processes in the node.
| [out] | usage | the Node Usage |
| int DLB_Stats_GetNodeAvgUsage | ( | double * | usage | ) |
Get the CPU Average Usage of all the DLB processes in the node.
| [out] | usage | the Node Usage |
| int DLB_Stats_GetActiveCpus | ( | int | pid, |
| int * | ncpus | ||
| ) |
Get the number of CPUs assigned to a given process.
| [in] | pid | Process ID to consult |
| [out] | ncpus | the number of CPUs used by a process |
| int DLB_Stats_GetActiveCpusList | ( | int * | cpuslist, |
| int * | nelems, | ||
| int | max_len | ||
| ) |
Get the number of CPUs assigned to each process.
| [out] | cpuslist | The output list |
| [out] | nelems | Number of elements in the list |
| [in] | max_len | Max capacity of the list |
| int DLB_Stats_GetLoadAvg | ( | int | pid, |
| double * | load | ||
| ) |
Get the Load Average of a given process.
| [in] | pid | Process ID to consult |
| [out] | load | double[3] Load Average ( 1min 5min 15min ) |
| int DLB_Stats_GetCpuStateIdle | ( | int | cpu, |
| float * | percentage | ||
| ) |
Get the percentage of time that the CPU has been in state IDLE.
| [in] | cpu | CPU id |
| [out] | percentage | percentage of state/total |
DEPRECATED: Functionality no longer provided.
| int DLB_Stats_GetCpuStateOwned | ( | int | cpu, |
| float * | percentage | ||
| ) |
Get the percentage of time that the CPU has been in state OWNED.
| [in] | cpu | CPU id |
| [out] | percentage | percentage of state/total |
DEPRECATED: Functionality no longer provided.
| int DLB_Stats_GetCpuStateGuested | ( | int | cpu, |
| float * | percentage | ||
| ) |
Get the percentage of time that the CPU has been in state GUESTED.
| [in] | cpu | CPU id |
| [out] | percentage | percentage of state/total |
DEPRECATED: Functionality no longer provided.