Log threadcount together with memory

This commit is contained in:
Siana Gearz
2012-02-29 16:03:11 +01:00
parent baad415f0d
commit a7d70878b7
4 changed files with 9 additions and 3 deletions

View File

@@ -228,6 +228,7 @@ void display_stats()
gMemoryAllocated = LLMemory::getCurrentRSS();
U32 memory = (U32)(gMemoryAllocated / (1024*1024));
llinfos << llformat("MEMORY: %d MB", memory) << llendl;
llinfos << "THREADS: "<< LLThread::getCount() << llendl;
LLMemory::logMemoryInfo(TRUE) ;
gRecentMemoryTime.reset();
}