|
Yate
|
A class exposing system resources usage. More...
#include <yateclass.h>
Public Types | |
| enum | Type { WallTime, UserTime, KernelTime } |
Static Public Member Functions | |
| static void | init () |
| static u_int64_t | startTime () |
| static u_int64_t | usecRunTime (Type type=WallTime) |
| static u_int64_t | msecRunTime (Type type=WallTime) |
| static u_int32_t | secRunTime (Type type=WallTime) |
| static double | runTime (Type type=WallTime) |
A class exposing system resources usage.
The SysUsage class allows collecting some statistics about engine's usage of system resources
| enum Type |
Type of time usage requested
| static void init | ( | ) | [static] |
Initialize the system start variable
| static u_int64_t msecRunTime | ( | Type | type = WallTime | ) | [static] |
Get the program's running time in milliseconds
| type | Type of running time requested |
Get the program's running time in seconds
| type | Type of running time requested |
| static u_int32_t secRunTime | ( | Type | type = WallTime | ) | [static] |
Get the program's running time in seconds
| type | Type of running time requested |
| static u_int64_t startTime | ( | ) | [static] |
| static u_int64_t usecRunTime | ( | Type | type = WallTime | ) | [static] |
Get the program's running time in microseconds
| type | Type of running time requested |
1.7.6.1