#include <llsys.h>
| Public Member Functions | |
| LLMemoryInfo () | |
| Default constructor. | |
| void | stream (std::ostream &s) const | 
| output text info to s | |
| U32 | getPhysicalMemoryKB () const | 
| Memory size in KiloBytes. | |
| U32 | getPhysicalMemoryClamped () const | 
| Memory size in clamped bytes. | |
Here's how you use an LLMemoryInfo:
LLMemoryInfo info; 
 llinfos << info << llendl; 
Definition at line 99 of file llsys.h.
| U32 LLMemoryInfo::getPhysicalMemoryClamped | ( | ) | const | 
Memory size in clamped bytes.
Memory size in bytes, if total memory is >= 4GB then U32_MAX will be returned.
Definition at line 544 of file llsys.cpp.
References getPhysicalMemoryKB(), and U32_MAX.
Referenced by LLViewerImageList::calcMaxTextureRAM(), LLViewerImageList::getMaxVideoRamSetting(), LLFeatureManager::initCPUFeatureMasks(), and LLViewerImage::updateClass().
| U32 LLMemoryInfo::getPhysicalMemoryKB | ( | ) | const | 
Memory size in KiloBytes.
Definition at line 509 of file llsys.cpp.
References NULL.
Referenced by getPhysicalMemoryClamped(), LLFloaterAbout::LLFloaterAbout(), send_stats(), and write_system_info().
| void LLMemoryInfo::stream | ( | std::ostream & | s | ) | const | 
output text info to s
Definition at line 560 of file llsys.cpp.
References LLFile::fopen(), MAX_STRING, and NULL.
Referenced by operator<<().
 1.4.7
 1.4.7