MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnGroupUpdate

Method OnGroupUpdate

Source/Engine/Profiler/ProfilerMemory.cpp:486–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486void ProfilerMemory::OnGroupUpdate(Groups group, int64 sizeDelta, int64 countDelta)
487{
488 Platform::InterlockedAdd(&GroupMemory[(int32)group], sizeDelta);
489 Platform::InterlockedAdd(&GroupMemoryCount[(int32)group], countDelta);
490 UPDATE_PEEK(group);
491}
492
493void ProfilerMemory::OnGroupSet(Groups group, int64 size, int64 count)
494{

Callers

nothing calls this directly

Calls 1

InterlockedAddFunction · 0.50

Tested by

no test coverage detected