From a84afc207ec0d58b22f5a99ee1bdb79b6df600d4 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 5 Jul 2021 14:59:27 +0200 Subject: [PATCH] Disable tracy mem allocs recording in Editor due to too big impact on profiler buffers usage --- Source/Engine/Platform/Base/PlatformBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Platform/Base/PlatformBase.cpp b/Source/Engine/Platform/Base/PlatformBase.cpp index 1c5ad0e09..4d9231b3e 100644 --- a/Source/Engine/Platform/Base/PlatformBase.cpp +++ b/Source/Engine/Platform/Base/PlatformBase.cpp @@ -172,7 +172,7 @@ void PlatformBase::OnMemoryAlloc(void* ptr, uint64 size) if (!ptr) return; -#if TRACY_ENABLE +#if TRACY_ENABLE && !USE_EDITOR // Track memory allocation in Tracy //tracy::Profiler::MemAlloc(ptr, size, false); tracy::Profiler::MemAllocCallstack(ptr, size, 12, false);