TuttleOFX
1
|
#include <cstddef>
#include <ostream>
Go to the source code of this file.
Data Structures | |
struct | MemoryInfo |
Functions | |
MemoryInfo | getMemoryInfo () |
std::ostream & | operator<< (std::ostream &os, const MemoryInfo &infos) |
MemoryInfo getMemoryInfo | ( | ) |
Definition at line 21 of file memoryInfo.cpp.
References MemoryInfo::_freeRam, MemoryInfo::_freeSwap, MemoryInfo::_totalRam, MemoryInfo::_totalSwap, tuttle::max(), TUTTLE_INFO, and TUTTLE_LOG_DEBUG.
Referenced by tuttle::host::memory::operator<<(), and tuttle::host::memory::MemoryPool::updateMemoryAuthorizedWithRAM().
std::ostream& operator<< | ( | std::ostream & | os, |
const MemoryInfo & | infos | ||
) |
Definition at line 93 of file memoryInfo.cpp.
References MemoryInfo::_freeRam, MemoryInfo::_freeSwap, MemoryInfo::_totalRam, and MemoryInfo::_totalSwap.