#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) |
The SysUsage class allows collecting some statistics about engine's usage of system resources
|
Type of time usage requested |
|
Initialize the system start variable |
|
Get the program's running time in milliseconds
|
|
Get the program's running time in seconds
|
|
Get the program's running time in seconds
|
|
Get the wall time used as start for the usage time |
|
Get the program's running time in microseconds
|