Class to query the memory subsystem. More...
#include <llsys.h>
Public Member Functions | |
U32 | getPhysicalMemoryClamped () const |
Memory size in clamped bytes. | |
U32 | getPhysicalMemoryKB () const |
Memory size in KiloBytes. | |
LLMemoryInfo () | |
Default constructor. | |
void | stream (std::ostream &s) const |
output text info to s |
Class to query the memory subsystem.
Here's how you use an LLMemoryInfo:
LLMemoryInfo info;
llinfos << info << llendl;
U32 LLMemoryInfo::getPhysicalMemoryClamped | ( | ) | const |
Memory size in clamped bytes.
Memory size in bytes, if total memory is >= 4GB then U32_MAX will be returned.