Abstract class for ISystemInfo interface.
More...
#include <SystemInfoCommon.hpp>
Abstract class for ISystemInfo interface.
This class factorizes some methods with implementations common to several operating systems.
It is still abstract since it doesn't implement all methods of ISystemInfo
Create a CpuInfo object
- Returns
- the created object.
Implements ISystemInfo.
std::string getBuildCompiler |
( |
| ) |
const |
|
virtual |
Returns the compiler name
- Returns
- the compiler name.
Implements ISystemInfo.
std::string getBuildDate |
( |
| ) |
const |
|
virtual |
Returns the date of the library generation.
- Returns
- the generation date.
Implements ISystemInfo.
std::string getBuildOptions |
( |
| ) |
const |
|
virtual |
Returns the compilation options
- Returns
- the compilation options.
Implements ISystemInfo.
std::string getBuildSystem |
( |
| ) |
const |
|
virtual |
Returns the operating system name used for the library generation
- Returns
- the os name.
Implements ISystemInfo.
std::string getHomeDirectory |
( |
| ) |
const |
|
inlinevirtual |
Returns home directory.
- Returns
- the home directory uri.
Implements ISystemInfo.
u_int64_t getMemoryPhysicalFree |
( |
| ) |
const |
|
inlinevirtual |
Get the size (in bytes) of the free physical memory
- Returns
- the free physical memory size
Implements ISystemInfo.
u_int64_t getMemoryProject |
( |
| ) |
const |
|
inlinevirtual |
Get a memory size (NOTE: in MBytes) for executing a program. It may be the whole physical memory, some part of it or a constant size.
- Returns
- the project memory size
Implements ISystemInfo.
u_int64_t getMemorySelfMaxUsed |
( |
| ) |
const |
|
inlinevirtual |
Get the size (in KBytes) of the memory used by the current process
- Returns
- the memory value
Implements ISystemInfo.
Reimplemented in SystemInfoLinux.
u_int64_t getMemorySelfUsed |
( |
| ) |
const |
|
inlinevirtual |
std::string getVersion |
( |
| ) |
const |
|
virtual |
Returns the version of the library.
- Returns
- the version.
Implements ISystemInfo.
The documentation for this class was generated from the following files:
- /builds/workspace/publish-doc-api-gitlab/gatb-core/src/gatb/system/impl/SystemInfoCommon.hpp
- /builds/workspace/publish-doc-api-gitlab/gatb-core/src/gatb/system/impl/SystemInfoCommon.cpp