![]() |
ezEngine
Milestone 9
|
The system configuration class encapsulates information about the system the application is running on. More...
#include <SystemInformation.h>
Public Member Functions | |
ezUInt64 | GetInstalledMainMemory () const |
Returns the installed physical memory in bytes. | |
ezUInt32 | GetMemoryPageSize () const |
Returns the size of a memory page in bytes. | |
ezUInt32 | GetCPUCoreCount () const |
Returns the CPU core count of the system. | |
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 |
Static Public Member Functions | |
static const ezSystemInformation & | Get () |
Allows access to the current system configuration. | |
The system configuration class encapsulates information about the system the application is running on.
Retrieve the system configuration by using ezSystemInformation::Get(). If you use the system configuration in startup code make sure to add the correct dependency to the system "SystemInformation" in "Foundation".