| FScopedSwitchedDurationTimer
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
Include |
#include "ProfilingDebugging/ScopedTimers.h" |
class FScopedSwitchedDurationTimer
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 | Description | ||
---|---|---|---|
|
double & |
Accumulator |
Time variable to update. |
|
const bool |
bDoFunctionality |
|
|
double |
StartTime |
Start time, captured in ctor. |
Name | Description | |
---|---|---|
|
FScopedSwitchedDurationTimer ( |
Name | Description | |
---|---|---|
|
~FScopedSwitchedDurationTimer() |
Name | Description | ||
---|---|---|---|
|
double |
Start() |