Plasma Engine  2.0
Loading...
Searching...
No Matches
plSystemInformation Class Reference

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

#include <SystemInformation.h>

Public Member Functions

plUInt64 GetInstalledMainMemory () const
 Returns the installed physical memory in bytes.
 
plUInt64 GetAvailableMainMemory () const
 Returns the currently available physical memory.
 
plUInt32 GetMemoryPageSize () const
 Returns the size of a memory page in bytes.
 
plUInt32 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 plCpuFeaturesGetCpuFeatures () 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 plSystemInformationGet ()
 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 plSystemInformation::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: