gatb.core-API-0.0.0
SystemInfoWindows Class Reference

Windows implementation for ISystemInfo interface. More...

#include <SystemInfoCommon.hpp>

Inheritance diagram for SystemInfoWindows:
Inheritance graph

Public Member Functions

size_t getNbCores () const
 
std::string getHostName () const
 
u_int64_t getMemoryPhysicalTotal () const
 
u_int64_t getMemoryPhysicalUsed () const
 
u_int64_t getMemoryBuffers () const
 
- Public Member Functions inherited from SystemInfoCommon
std::string getVersion () const
 
std::string getBuildDate () const
 
std::string getBuildCompiler () const
 
std::string getBuildOptions () const
 
std::string getBuildSystem () const
 
std::string getHomeDirectory () const
 
u_int64_t getMemoryPhysicalFree () const
 
u_int64_t getMemoryProject () const
 
u_int64_t getMemorySelfUsed () const
 
u_int64_t getMemorySelfMaxUsed () const
 
virtual CpuInfocreateCpuInfo ()
 
- Public Member Functions inherited from ISystemInfo
virtual ~ISystemInfo ()
 

Detailed Description

Windows implementation for ISystemInfo interface.

IMPORTANT ! Windows implementation is not fully done. Using it may lead to ExceptionNotImplemented exception.

Member Function Documentation

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
inlinevirtual

Get the size (in bytes) of the physical memory

Returns
the physical memory size

Implements ISystemInfo.

u_int64_t getMemoryPhysicalUsed ( ) const
inlinevirtual

Get the size (in bytes) of the used physical memory

Returns
the used physical memory size

Implements ISystemInfo.

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: