Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/ProfilingDebugging
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
Include | #include "ProfilingDebugging/ScopedTimers.h" |
Syntax
template<typename ThreadSafeCounterClass>
class TScopedDurationThreadSafeTimer
Remarks
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.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TScopedDurationThreadSafeTimer
(
ThreadSafeCounterClass& InCounter |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |