Navigation
API > API/Runtime > API/Runtime/Core
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.
| Name | FAutoScopedDurationTimer |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h |
| Include Path | #include "ProfilingDebugging/ScopedTimers.h" |
Syntax
class FAutoScopedDurationTimer : public FScopedDurationTimer
Inheritance Hierarchy
- FDurationTimer → FScopedDurationTimer → FAutoScopedDurationTimer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAutoScopedDurationTimer() |
ProfilingDebugging/ScopedTimers.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccumulatorValue | double | ProfilingDebugging/ScopedTimers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double GetTime() |
ProfilingDebugging/ScopedTimers.h |