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

#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 xiiCpuFeatures & GetCpuFeatures () 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 xiiSystemInformation & Get ()
 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".

Member Function Documentation

◆ IsDebuggerAttached()

bool xiiSystemInformation::IsDebuggerAttached ( )
static

Returns whether a debugger is currently attached to this process.

Copyright (c) Theophilus Eriata. All Rights Reserved.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/System/SystemInformation.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Platform/Implementation/OSX/SystemInformation_OSX.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Platform/Implementation/Posix/SystemInformation_posix.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Platform/Implementation/Windows/SystemInformation_win.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/System/Implementation/SystemInformation.cpp