Dataflow Runtime API  4.0.1.0
Public Member Functions | List of all members
imt::base::os::linux::RamUsageInfo Class Reference

Helper class to store RAM usage information. More...

#include <Imt.Base.OS.Linux/RamUsageInfo.h>

Public Member Functions

 RamUsageInfo ()
 Constructor. More...
 
 RamUsageInfo (uint64_t totalRamBytes, uint64_t freeRamBytes, uint64_t usedRamBytes) noexcept
 Constructor. More...
 
uint64_t getTotalRamBytes () const noexcept
 Gets the total amount of RAM memory. More...
 
uint64_t getFreeRamBytes () const noexcept
 Gets the free amount of RAM memory. More...
 
uint64_t getUsedRamBytes () const noexcept
 Gets the used amount of RAM memory. More...
 

Detailed Description

Helper class to store RAM usage information.

Constructor & Destructor Documentation

◆ RamUsageInfo() [1/2]

imt::base::os::linux::RamUsageInfo::RamUsageInfo ( )

Constructor.

◆ RamUsageInfo() [2/2]

imt::base::os::linux::RamUsageInfo::RamUsageInfo ( uint64_t  totalRamBytes,
uint64_t  freeRamBytes,
uint64_t  usedRamBytes 
)
noexcept

Constructor.

Parameters
totalRamBytesThe total amount of RAM memory
freeRamBytesThe free amount of RAM memory
usedRamBytesThe used amount of RAM memory

Member Function Documentation

◆ 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: