Navigation
Unreal Engine C++ API Reference > Runtime > Core > ProfilingDebugging
Inheritance Hierarchy
- FDurationTimer
- FScopedABTimer
- FScopedDurationTimer
- FAutoScopedDurationTimer
- FScopedLoadTimeAccumulatorTimer
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
Include | #include "ProfilingDebugging/ScopedTimers.h" |
Syntax
class FDurationTimer
Remarks
Utility stopwatch class for tracking the duration of some action (tracks time in seconds and adds it to the specified variable on destruction).
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
double & | Accumulator | Time variable to update. |
![]() |
double | StartTime | Start time, captured in ctor. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FDurationTimer
(
double& AccumulatorIn |