gatb.core-API-0.0.0
|
Interface providing some general information about the system. More...
#include <ISystemInfo.hpp>
Classes | |
class | CpuInfo |
Interface providing a way to get CPU usage information. More... | |
Public Member Functions | |
virtual std::string | getVersion () const =0 |
virtual std::string | getBuildDate () const =0 |
virtual std::string | getBuildCompiler () const =0 |
virtual std::string | getBuildOptions () const =0 |
virtual std::string | getBuildSystem () const =0 |
virtual size_t | getNbCores () const =0 |
virtual std::string | getHostName () const =0 |
virtual std::string | getHomeDirectory () const =0 |
virtual u_int64_t | getMemoryPhysicalTotal () const =0 |
virtual u_int64_t | getMemoryPhysicalUsed () const =0 |
virtual u_int64_t | getMemoryPhysicalFree () const =0 |
virtual u_int64_t | getMemoryProject () const =0 |
virtual u_int64_t | getMemoryBuffers () const =0 |
virtual u_int64_t | getMemorySelfUsed () const =0 |
virtual u_int64_t | getMemorySelfMaxUsed () const =0 |
virtual | ~ISystemInfo () |
virtual CpuInfo * | createCpuInfo ()=0 |
Interface providing some general information about the system.
|
inlinevirtual |
Destructor.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns the date of the library generation.
Implemented in SystemInfoCommon.
|
pure virtual |
|
pure virtual |
Returns the operating system name used for the library generation
Implemented in SystemInfoCommon.
|
pure virtual |
|
pure virtual |
Returns the host name.
Implemented in SystemInfoWindows, SystemInfoMacos, and SystemInfoLinux.
|
pure virtual |
Get the size (in bytes) of the buffers memory
Implemented in SystemInfoWindows, SystemInfoMacos, and SystemInfoLinux.
|
pure virtual |
Get the size (in bytes) of the free physical memory
Implemented in SystemInfoCommon.
|
pure virtual |
Get the size (in bytes) of the physical memory
Implemented in SystemInfoWindows, SystemInfoMacos, and SystemInfoLinux.
|
pure virtual |
Get the size (in bytes) of the used physical memory
Implemented in SystemInfoWindows, SystemInfoMacos, and SystemInfoLinux.
|
pure virtual |
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.
Implemented in SystemInfoCommon.
|
pure virtual |
Get the size (in KBytes) of the max memory used by the current process
Implemented in SystemInfoLinux, and SystemInfoCommon.
|
pure virtual |
Get the size (in KBytes) of the memory used by the current process
Implemented in SystemInfoMacos, SystemInfoLinux, and SystemInfoCommon.
|
pure virtual |
Returns the number of available cores.
Implemented in SystemInfoWindows, SystemInfoMacos, and SystemInfoLinux.
|
pure virtual |