Same as FScopedDurationTimer, except that it tracks the time value internally so you don't have to pass in a double to accumulate. 更多...
#include <ScopedTimers.h>
类 FAutoScopedDurationTimer 继承关系图:额外继承的成员函数 | |
Public 成员函数 继承自 FScopedDurationTimer | |
| ~FScopedDurationTimer () | |
| Dtor, updating seconds with time delta. | |
Protected 属性 继承自 FDurationTimer | |
| double & | Accumulator |
| Time variable to update. | |
| double | StartTime |
| Start time, captured in ctor. | |
Same as FScopedDurationTimer, except that it tracks the time value internally so you don't have to pass in a double to accumulate.
Call GetTime() to get the total time since starting.