Memory consumption in statistics floater
This commit is contained in:
@@ -83,6 +83,7 @@
|
||||
#include "llwlparammanager.h"
|
||||
#include "llwaterparammanager.h"
|
||||
#include "llpostprocess.h"
|
||||
#include "sgmemstat.h"
|
||||
|
||||
// [RLVa:KB]
|
||||
#include "rlvhandler.h"
|
||||
@@ -229,6 +230,7 @@ void display_stats()
|
||||
U32 memory = (U32)(gMemoryAllocated / (1024*1024));
|
||||
llinfos << llformat("MEMORY: %d MB", memory) << llendl;
|
||||
llinfos << "THREADS: "<< LLThread::getCount() << llendl;
|
||||
llinfos << "MALLOC: " << SGMemStat::getPrintableStat() <<llendl;
|
||||
LLMemory::logMemoryInfo(TRUE) ;
|
||||
gRecentMemoryTime.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user