Navigation
Unreal Engine C++ API Reference > Runtime > Core > ProfilingDebugging
Inheritance Hierarchy
- FScopedSwitchedDurationTimer
- FScopedSwitchedCountedDurationTimer
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
Include | #include "ProfilingDebugging/ScopedTimers.h" |
Syntax
class FScopedSwitchedCountedDurationTimer : private FScopedSwitchedDurationTimer
Remarks
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 Also counts the number of timings
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FScopedSwitchedCountedDurationTimer
(
double& TimeAccumulatorIn, |