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). useful for timing that only wants to occur when a feature is optionally turned on
| Name | FScopedSwitchedDurationTimer |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
| Include Path | #include "ProfilingDebugging/ScopedTimers.h" |
Syntax
class FScopedSwitchedDurationTimer
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedSwitchedDurationTimer
(
double& AccumulatorIn, |
ProfilingDebugging/ScopedTimers.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedSwitchedDurationTimer() |
ProfilingDebugging/ScopedTimers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double Start() |
ProfilingDebugging/ScopedTimers.h |