XII Release 0.1.0
Loading...
Searching...
No Matches
xiiSystemInformation Class Reference

The system configuration class encapsulates information about the system the application is running on. More...

#include <SystemInformation.h>

Public Member Functions

xiiUInt64 GetInstalledMainMemory () const
 Returns the installed physical memory in bytes.
 
xiiUInt64 GetAvailableMainMemory () const
 Returns the currently available physical memory.
 
xiiUInt32 GetMemoryPageSize () const
 Returns the size of a memory page in bytes.
 
xiiUInt32 GetCPUCoreCount () const
 Returns the CPU core count of the system.
 
float GetCPUUtilization () const
 Returns the total utilization of the CPU core in percent.
 
bool Is64BitOS () const
 Returns true if the process is currently running on a 64-bit OS.
 
const char * GetPlatformName () const
 
const char * GetHostName () const
 
const char * GetBuildConfiguration () const
 
const xiiCpuFeaturesGetCpuFeatures () const
 Returns a struct that contains detailed information about the available CPU features (SIMD support).
 

Static Public Member Functions

static bool IsDebuggerAttached ()
 Returns whether a debugger is currently attached to this process.
 
static const xiiSystemInformationGet ()
 Allows access to the current system configuration.
 

Detailed Description

The system configuration class encapsulates information about the system the application is running on.

Retrieve the system configuration by using xiiSystemInformation::Get(). If you use the system configuration in startup code make sure to add the correct dependency to the system "SystemInformation" in "Foundation".


The documentation for this class was generated from the following files: