Functions |
|
BALL_EXPORT LongIndex | getAvailableMemory () |
The the total amount of free memory
(under linux + getBufferedMemory()).
|
|
BALL_EXPORT LongIndex | getFreeMemory () |
The the amount of freee memory.
|
|
BALL_EXPORT LongIndex | getTotalMemory () |
The the total amount of memory.
|
|
BALL_EXPORT LongIndex | getBufferedMemory () |
Return the buffered memory under
Linux. |
|
BALL_EXPORT LongIndex | getFreeSwapSpace () |
Return the the amount of free swap
memory. |
|
BALL_EXPORT Time | getUptime () |
Get the uptime of the system.
|
|
BALL_EXPORT Index | getNumberOfProcessors () |
Get the number of processors.
|
All memory values are returned in amounts of byte. See the man page for sysinfo, GetSystemInfo and /proc/cpuinfo under Linux.
http://msdn.microsoft.com/library/en-us/memory/base/globalmemorystatusex.asp
BALL_EXPORT LongIndex BALL::SysInfo::getAvailableMemory | ( | ) |
The the total amount of free memory (under linux + getBufferedMemory()).
BALL_EXPORT LongIndex BALL::SysInfo::getBufferedMemory | ( | ) |
Return the buffered memory under Linux.
BALL_EXPORT LongIndex BALL::SysInfo::getFreeMemory | ( | ) |
The the amount of freee memory.
BALL_EXPORT LongIndex BALL::SysInfo::getFreeSwapSpace | ( | ) |
Return the the amount of free swap memory.
BALL_EXPORT Index BALL::SysInfo::getNumberOfProcessors | ( | ) |
Get the number of processors.
BALL_EXPORT LongIndex BALL::SysInfo::getTotalMemory | ( | ) |
The the total amount of memory.
BALL_EXPORT Time BALL::SysInfo::getUptime | ( | ) |
Get the uptime of the system.
Works currently only under Unix, not under Windows.