Navigation
API > API/Runtime > API/Runtime/Core
Utility class for tracking the duration of a scoped action (the user doesn't have to call Start() and Stop() manually), when the storage is std::atomic
| Name | FScopedDurationAtomicTimer |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
| Include Path | #include "ProfilingDebugging/ScopedTimers.h" |
Syntax
class FScopedDurationAtomicTimer : public FDurationAtomicTimer
Inheritance Hierarchy
- FDurationAtomicTimer → FScopedDurationAtomicTimer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedDurationAtomicTimer
(
std::atomic< double >& AccumulatorIn, |
ProfilingDebugging/ScopedTimers.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedDurationAtomicTimer() |
Dtor, updating seconds with time delta. | ProfilingDebugging/ScopedTimers.h |