Gamedev Framework (gf)
0.3.0
A C++11 framework for 2D games
|
A class for system info. More...
#include <gf/SystemInfo.h>
Public Member Functions | |
SystemInfo ()=delete | |
Deleted default constructor. More... | |
Static Public Member Functions | |
static std::string | getPlatformName () |
Get the plaform name. More... | |
static int | getCpuCacheLineSize () |
Get the CPU L1 cache line size. More... | |
static int | getCpuCount () |
Get the number of CPU cores. More... | |
static int | getSystemRamSize () |
Get the amount of memory. More... | |
A class for system info.
This class only contains static methods. You can get:
|
delete |
Deleted default constructor.
|
static |
Get the CPU L1 cache line size.
|
static |
Get the number of CPU cores.
This function returns the number of logical CPU cores.
|
static |
Get the plaform name.
The plaform can be:
|
static |
Get the amount of memory.