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.

Choose your operating system:

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()