UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAutoScopedDurationTimer Class Reference

#include <ScopedTimers.h>

+ Inheritance diagram for FAutoScopedDurationTimer:

Public Member Functions

 FAutoScopedDurationTimer ()
 
double GetTime ()
 
- Public Member Functions inherited from FScopedDurationTimer
 FScopedDurationTimer (double &AccumulatorIn)
 
 ~FScopedDurationTimer ()
 
- Public Member Functions inherited from FDurationTimer
 FDurationTimer (double &AccumulatorIn)
 
double Start ()
 
double Stop ()
 

Additional Inherited Members

- Protected Attributes inherited from FDurationTimer
double StartTime
 
doubleAccumulator
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FAutoScopedDurationTimer()

FAutoScopedDurationTimer::FAutoScopedDurationTimer ( )
inline

Member Function Documentation

◆ GetTime()

double FAutoScopedDurationTimer::GetTime ( )
inline

The documentation for this class was generated from the following file: