FAutoScopedDurationTimer

Same as [FScopedDurationTimer](API\Runtime\Core\ProfilingDebugging\FScopedDurationTimer), except that it tracks the time value internally so you don't have to pass in a double to accumulate.

Windows
MacOS
Linux

Inheritance Hierarchy

FDurationTimer

FScopedDurationTimer

FAutoScopedDurationTimer

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h

Include

#include "ProfilingDebugging/ScopedTimers.h"

Syntax

class FAutoScopedDurationTimer : public FScopedDurationTimer

Remarks

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.

Constructors

Name Description

Public function

FAutoScopedDurationTimer()

Functions

Name Description

Public function

double

 

GetTime()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss