diff options
author | Dave Parks <davep@lindenlab.com> | 2021-09-27 23:56:06 +0000 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2021-09-27 23:56:06 +0000 |
commit | 675514bdb372c25b50dd2c42b06633895c86b8ce (patch) | |
tree | 4d659b9600e12495cace9f88dd94ea23ab0c9aff /indra/llcommon/llmemory.cpp | |
parent | 78007d2592290582e3b3fbff002376ad0561779f (diff) |
SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging.
Diffstat (limited to 'indra/llcommon/llmemory.cpp')
-rw-r--r-- | indra/llcommon/llmemory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp index ea84e4c1ea..849867586a 100644 --- a/indra/llcommon/llmemory.cpp +++ b/indra/llcommon/llmemory.cpp @@ -82,6 +82,7 @@ void LLMemory::initMaxHeapSizeGB(F32Gigabytes max_heap_size) //static void LLMemory::updateMemoryInfo() { + LL_PROFILE_ZONE_SCOPED #if LL_WINDOWS PROCESS_MEMORY_COUNTERS counters; @@ -145,6 +146,7 @@ void* LLMemory::tryToAlloc(void* address, U32 size) //static void LLMemory::logMemoryInfo(BOOL update) { + LL_PROFILE_ZONE_SCOPED if(update) { updateMemoryInfo() ; |