Fix a ton of small bugs in 64bit memory value handling
This commit is contained in:
@@ -238,9 +238,9 @@ void display_stats()
|
||||
F32 mem_log_freq = gSavedSettings.getF32("MemoryLogFrequency");
|
||||
if (mem_log_freq > 0.f && gRecentMemoryTime.getElapsedTimeF32() >= mem_log_freq)
|
||||
{
|
||||
gMemoryAllocated = (U64Bytes)LLMemory::getCurrentRSS();
|
||||
gMemoryAllocated = U64Bytes(LLMemory::getCurrentRSS());
|
||||
U32Megabytes memory = gMemoryAllocated;
|
||||
LL_INFOS() << llformat("MEMORY: %d MB", memory.value()) << LL_ENDL;
|
||||
LL_INFOS() << "MEMORY: " << memory << LL_ENDL;
|
||||
LL_INFOS() << "THREADS: "<< LLThread::getCount() << LL_ENDL;
|
||||
LL_INFOS() << "MALLOC: " << SGMemStat::getPrintableStat() <<LL_ENDL;
|
||||
LLMemory::logMemoryInfo(TRUE) ;
|
||||
|
||||
Reference in New Issue
Block a user