Functions | |
OT_SYS_API_EXPORT unsigned long long | getTotalPhysicalMemory (void) |
Returns the total physical memory of the current machine in bytes. | |
OT_SYS_API_EXPORT unsigned long long | getAvailablePhysicalMemory (void) |
Returns the available physical memory of the current machine in bytes. | |
OT_SYS_API_EXPORT unsigned long long | getTotalVirtualMemory (void) |
Returns the total virtual memory of the current machine in bytes. | |
OT_SYS_API_EXPORT unsigned long long | getAvailableVirtualMemory (void) |
Returns the available virtual memory of the current machine in bytes. | |
OT_SYS_API_EXPORT char * | getEnvironmentVariable (const char *_variableName) |
OT_SYS_API_EXPORT std::string | getExecutablePath () |
Returns the path of the current executable. | |
unsigned long long ot::os::getAvailablePhysicalMemory | ( | void | ) |
Returns the available physical memory of the current machine in bytes.
unsigned long long ot::os::getAvailableVirtualMemory | ( | void | ) |
Returns the available virtual memory of the current machine in bytes.
char * ot::os::getEnvironmentVariable | ( | const char * | _variableName | ) |
_variableName |
OT_SYS_API_EXPORT std::string ot::os::getExecutablePath | ( | ) |
Returns the path of the current executable.
unsigned long long ot::os::getTotalPhysicalMemory | ( | void | ) |
Returns the total physical memory of the current machine in bytes.
unsigned long long ot::os::getTotalVirtualMemory | ( | void | ) |
Returns the total virtual memory of the current machine in bytes.