MacOs implementation for ISystemInfo interface.
More...
#include <SystemInfoCommon.hpp>
MacOs implementation for ISystemInfo interface.
std::string getHostName |
( |
| ) |
const |
|
virtual |
Returns the host name.
- Returns
- the host name.
Implements ISystemInfo.
u_int64_t getMemoryBuffers |
( |
| ) |
const |
|
inlinevirtual |
Get the size (in bytes) of the buffers memory
- Returns
- the buffers memory size
Implements ISystemInfo.
u_int64_t getMemoryPhysicalTotal |
( |
| ) |
const |
|
virtual |
Get the size (in bytes) of the physical memory
- Returns
- the physical memory size
Implements ISystemInfo.
u_int64_t getMemoryPhysicalUsed |
( |
| ) |
const |
|
virtual |
Get the size (in bytes) of the used physical memory
- Returns
- the used physical memory size
Implements ISystemInfo.
u_int64_t getMemorySelfUsed |
( |
| ) |
const |
|
virtual |
Get the size (in KBytes) of the memory used by the current process
- Returns
- the memory value
Reimplemented from SystemInfoCommon.
size_t getNbCores |
( |
| ) |
const |
|
virtual |
Returns the number of available cores.
- Returns
- the number of cores.
Implements ISystemInfo.
The documentation for this class was generated from the following file: