#include <RAMInfo.hpp>
RAMInfo class will gather information about the RAM at runtime
Definition at line 34 of file RAMInfo.hpp.
◆ RAMInfo()
◆ ~RAMInfo()
◆ ENIGMA_NON_COPYABLE()
RAMInfo::ENIGMA_NON_COPYABLE |
( |
RAMInfo |
| ) |
|
◆ ENIGMA_NON_MOVEABLE()
RAMInfo::ENIGMA_NON_MOVEABLE |
( |
RAMInfo |
| ) |
|
◆ GetAvailableRAM()
std::size_t RAMInfo::GetAvailableRAM |
( |
| ) |
const |
|
noexcept |
Returns the max available memory on the system (in bytes)
◆ GetFreeRAM()
std::size_t RAMInfo::GetFreeRAM |
( |
| ) |
const |
|
noexcept |
Returns the total physical memory free (in bytes)
◆ GetProcessRAMUsage()
float RAMInfo::GetProcessRAMUsage |
( |
| ) |
|
|
noexcept |
Returns memory usage by current process (in percentage [0% -> 100%])
◆ GetProcessUsedRAM()
std::size_t RAMInfo::GetProcessUsedRAM |
( |
| ) |
const |
|
noexcept |
Returns the total physical memory used by this process (in bytes)
◆ GetRAMUsage()
float RAMInfo::GetRAMUsage |
( |
| ) |
|
|
noexcept |
Returns memory usage by all processes (in percentage [0% -> 100%])
◆ GetUsedRAM()
std::size_t RAMInfo::GetUsedRAM |
( |
| ) |
const |
|
noexcept |
Returns the total physical memory reserved by all processes (in bytes)
◆ Update()
Updates the RAM status at runtime
The documentation for this class was generated from the following file: