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).
| Name | FScopedDurationTimer |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
| Include Path | #include "ProfilingDebugging/ScopedTimers.h" |
Syntax
class FScopedDurationTimer : public FDurationTimer
Inheritance Hierarchy
- FDurationTimer → FScopedDurationTimer
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedDurationTimer
(
double& AccumulatorIn |
ProfilingDebugging/ScopedTimers.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedDurationTimer() |
Dtor, updating seconds with time delta. | ProfilingDebugging/ScopedTimers.h |