|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
System memory information. More...
#include <system_info_service.h>
Public Member Functions | |
| bool | hasEnoughRAM (uint64_t requiredMB) const |
| bool | is16GBOrMore () const |
| bool | is32GBOrMore () const |
| double | usagePercent () const |
Public Attributes | |
| uint64_t | availableMB = 0 |
| uint64_t | swapFreeMB = 0 |
| uint64_t | swapTotalMB = 0 |
| uint64_t | totalMB = 0 |
System memory information.
Definition at line 200 of file system_info_service.h.
|
inline |
Definition at line 208 of file system_info_service.h.
References totalMB.
|
inline |
Definition at line 212 of file system_info_service.h.
References totalMB.
|
inline |
Definition at line 216 of file system_info_service.h.
References totalMB.
|
inline |
Definition at line 220 of file system_info_service.h.
References availableMB, and totalMB.
| uint64_t MemoryInfo::availableMB = 0 |
Definition at line 203 of file system_info_service.h.
Referenced by usagePercent().
| uint64_t MemoryInfo::swapFreeMB = 0 |
Definition at line 205 of file system_info_service.h.
| uint64_t MemoryInfo::swapTotalMB = 0 |
Definition at line 204 of file system_info_service.h.
| uint64_t MemoryInfo::totalMB = 0 |
Definition at line 202 of file system_info_service.h.
Referenced by hasEnoughRAM(), is16GBOrMore(), is32GBOrMore(), and usagePercent().