Helper class to store RAM usage information.
More...
#include <Imt.Base.OS.Linux/RamUsageInfo.h>
Helper class to store RAM usage information.
◆ RamUsageInfo() [1/2]
imt::base::os::linux::RamUsageInfo::RamUsageInfo |
( |
| ) |
|
◆ RamUsageInfo() [2/2]
imt::base::os::linux::RamUsageInfo::RamUsageInfo |
( |
uint64_t |
totalRamBytes, |
|
|
uint64_t |
freeRamBytes, |
|
|
uint64_t |
usedRamBytes |
|
) |
| |
|
noexcept |
Constructor.
- Parameters
-
totalRamBytes | The total amount of RAM memory |
freeRamBytes | The free amount of RAM memory |
usedRamBytes | The used amount of RAM memory |
◆ getFreeRamBytes()
uint64_t imt::base::os::linux::RamUsageInfo::getFreeRamBytes |
( |
| ) |
const |
|
noexcept |
Gets the free amount of RAM memory.
- Returns
- The free amount of RAM memory
◆ getTotalRamBytes()
uint64_t imt::base::os::linux::RamUsageInfo::getTotalRamBytes |
( |
| ) |
const |
|
noexcept |
Gets the total amount of RAM memory.
- Returns
- The total amount of RAM memory
◆ getUsedRamBytes()
uint64_t imt::base::os::linux::RamUsageInfo::getUsedRamBytes |
( |
| ) |
const |
|
noexcept |
Gets the used amount of RAM memory.
- Returns
- The used amount of RAM memory
The documentation for this class was generated from the following file: