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