Add ignoring memory allocations from profiling tools in Editor Profiler

This commit is contained in:
Wojtek Figat
2021-05-30 14:11:49 +02:00
parent 9c66ac4656
commit 2a3a15533c
2 changed files with 13 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ namespace FlaxEditor.Windows.Profiler
for (int j = 0; j < ee.Length; j++)
{
ref var e = ref ee[j];
if (e.NameStartsWith("ProfilerWindow"))
continue;
nativeMemoryAllocation += e.NativeMemoryAllocation;
managedMemoryAllocation += e.ManagedMemoryAllocation;
}