Utility stopwatch class for tracking the duration of some action (tracks time in seconds and adds it to the specified variable on destruction). 更多...
#include <ScopedTimers.h>
类 FScopedSwitchedDurationTimer 继承关系图:Protected 属性 | |
| double & | Accumulator |
| Time variable to update. | |
| double | StartTime |
| Start time, captured in ctor. | |
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