Functions | |
string | getSystemDetails () |
Returns all the above system details in a single string. More... | |
string | getMemoryUsage () |
Returns the current process memory usage. More... | |
string | getPeakMemoryUsage () |
Returns the current process peak memory usage. More... | |
unsigned long long | getPeakMemoryUsageBytes () |
Returns the current process peak memory usage in bytes. More... | |
string | getUsername () |
Returns the current username. More... | |
string | getHostname () |
Returns the machine name. More... | |
string | getOsName () |
Returns the OS Name. More... | |
string | getOsVersion () |
Returns the OS Version. More... | |
string | getCpuName () |
Returns the CPU name (e.g. "Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz". More... | |
unsigned int | getNumberCores () |
Returns the number of Cores available to the OS. More... | |
unsigned long long | getMemoryUsageBytes () |
string | getMemoryRAM () |
Returns the total amount of memory available (installed RAM) More... | |
void | dumpStacktrace () |
Write the current stacktrace to stderr and LOG() with level = ALERT. More... | |
void | setAssertHandler () |
Set an assert handler that logs the stacktrace. More... | |
Various OS specific utilities