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

#include <ScopedTimers.h>

+ Inheritance diagram for FScopedSwitchedCountedDurationTimer:

Public Member Functions

 FScopedSwitchedCountedDurationTimer (double &TimeAccumulatorIn, int32 &CountAccumlatorIn, bool bDoFunctionalityIn)
 

Detailed Description

Utility stopwatch class for tracking the duration of some action (tracks time in seconds and adds it to the specified variable on destruction). useful for timing that only wants to occur when a feature is optionally turned on Also counts the number of timings

Constructor & Destructor Documentation

◆ FScopedSwitchedCountedDurationTimer()

FScopedSwitchedCountedDurationTimer::FScopedSwitchedCountedDurationTimer ( double TimeAccumulatorIn,
int32 CountAccumlatorIn,
bool  bDoFunctionalityIn 
)
inlineexplicit

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