18 #ifndef __H__OCULAR_SYSTEM_INFO__
19 #define __H__OCULAR_SYSTEM_INFO__
21 #include "FileIO/Directory.hpp"
145 static void discoverOperatingSystem();
146 static void discoverProcessorArchitecture();
147 static void discoverEndianness();
148 static void discoverOpenGLLevel();
149 static void discoverDirectXLevel();
150 static void discoverInstalledRAM();
151 static void discoverInstalledGPUMemory();
152 static void discoverNumberOfThreads();
158 static void discoverAvailableGPUMemory();
159 static void discoverAvailableRAM();
160 static void discoverChannels();
164 static OperatingSystems m_OperatingSystem;
165 static ProcessorArchitectures m_ProcessorArchitecture;
167 static OpenGLLevels m_OpenGLLevel;
168 static DirectXLevels m_DirectXLevel;
170 static uint64_t m_TotalRAM;
171 static uint64_t m_FreeRAM;
172 static uint64_t m_TotalGPUMemory;
173 static uint64_t m_FreeGPUMemory;
175 static uint32_t m_NumberOfChannels;
176 static uint32_t m_NumberOfThreads;
Definition: SystemInfo.hpp:46
Endianness
Definition: Common.hpp:89
static uint64_t getFreeGPUMemory()
Definition: SystemInfo.cpp:209
static ProcessorArchitectures getProcessorArchitecture()
Definition: SystemInfo.cpp:174
static uint64_t getTotalRAM()
Definition: SystemInfo.cpp:194
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
static uint32_t getNumberOfChannels()
Definition: SystemInfo.cpp:214
static void refresh()
Definition: SystemInfo.cpp:81
static Endianness getEndianness()
Definition: SystemInfo.cpp:179
static uint64_t getFreeRAM()
Definition: SystemInfo.cpp:199
static DirectXLevels getDirectXSupportLevel()
Definition: SystemInfo.cpp:189
static void initialize()
Definition: SystemInfo.cpp:65
Definition: Directory.hpp:43
static OperatingSystems getOperatingSystem()
Definition: SystemInfo.cpp:169
static Core::Directory getWorkingDirectory()
Definition: SystemInfo.cpp:224
static uint32_t getNumberOfThreads()
Definition: SystemInfo.cpp:219
static void logSystemInfo()
Definition: SystemInfo.cpp:90
static uint64_t getTotalGPUMemory()
Definition: SystemInfo.cpp:204
static OpenGLLevels getOpenGLSupportLevel()
Definition: SystemInfo.cpp:184