Module |
|
Header |
/Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
Include |
#include "ProfilingDebugging/ScopedTimers.h" |
template<typename ThreadSafeCounterClass>
class TScopedDurationThreadSafeTimer
Utility class for tracking the duration of a scoped action to an accumulator in a thread-safe fashion. Can accumulate into a 32bit or 64bit counter.
ThreadSafeCounterClass is expected to be a thread-safe type with a non-static member Add(uint32) that will work correctly if called from multiple threads simultaneously.
Name | Description | |
---|---|---|
|
TScopedDurationThreadSafeTimer ( |
Name | Description | |
---|---|---|
|
~TScopedDurationThreadSafeTimer() |