Navigation
API > API/Runtime > API/Runtime/Core
Utility stopwatch class for tracking the duration of some action (tracks time in seconds and adds it to the specified variable on destruction), when the storage is std::atomic
| Name | FDurationAtomicTimer |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
| Include Path | #include "ProfilingDebugging/ScopedTimers.h" |
Syntax
class FDurationAtomicTimer
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDurationAtomicTimer
(
std::atomic< double >& AccumulatorIn, |
ProfilingDebugging/ScopedTimers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double Start() |
ProfilingDebugging/ScopedTimers.h | ||
double Stop() |
ProfilingDebugging/ScopedTimers.h |