/Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h
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
class FScopedSwitchedDurationTimer
double &
Accumulator
Time variable to update.
const bool
bDoFunctionality
double
StartTime
Start time, captured in ctor.