Common operating system functions. More...
#include <os.hpp>
Static Public Member Functions | |
| static double | getCurrentClock () |
| Returns high resolution time stamp in seconds. (MT-Safe) | |
| static int | getLogicalCpuCount () |
| Returns system logical CPU count. (MT-Safe) | |
| static int | getPhysicalCpuCount () |
| Returns system physical CPU count. (MT-Safe) | |
| static int | getPerformanceCpuCount () |
| Returns system performance CPU count. (MT-Safe) | |
| static int64_t | getTotalRamSize () |
| Returns system total physical RAM size. (MT-Safe) | |
| static int64_t | getFreeRamSize () |
| Returns system free physical RAM size. (MT-Safe) | |
| static string | getCpuName () |
| Returns system CPU name string. (MT-Safe) | |
Common operating system functions.
See the os.h
|
inlinestatic |
Returns high resolution time stamp in seconds. (MT-Safe)
See the getCurrentClock().
|
inlinestatic |
Returns system logical CPU count. (MT-Safe)
See the getLogicalCpuCount().
| Error | if failed to get logical CPU count. |
|
inlinestatic |
Returns system physical CPU count. (MT-Safe)
See the getPhysicalCpuCount().
| Error | if failed to get physical CPU count. |
|
inlinestatic |
Returns system performance CPU count. (MT-Safe)
See the getPerformanceCpuCount().
| Error | if failed to get performance CPU count. |
|
inlinestatic |
Returns system total physical RAM size. (MT-Safe)
See the getTotalRamSize().
| Error | if failed to get total RAM size. |
|
inlinestatic |
Returns system free physical RAM size. (MT-Safe)
See the getFreeRamSize().
| Error | if failed to get free RAM size. |
|
inlinestatic |
Returns system CPU name string. (MT-Safe)
See the getCpuName().
| Error | if failed to get CPU name. |