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

#include <StatsMisc.h>

Public Member Functions

 FSimpleScopeSecondsCounter (double &InSeconds, bool bInEnabled=true)
 
 FSimpleScopeSecondsCounter (double &InSeconds, int32 *InRecursionDepth)
 
 ~FSimpleScopeSecondsCounter ()
 

Detailed Description

Utility class to capture time passed in seconds, adding delta time to passed in variable. Not useful for reentrant functions

Constructor & Destructor Documentation

◆ FSimpleScopeSecondsCounter() [1/2]

FSimpleScopeSecondsCounter::FSimpleScopeSecondsCounter ( double InSeconds,
bool  bInEnabled = true 
)
inline

Ctor, capturing start time.

◆ FSimpleScopeSecondsCounter() [2/2]

FSimpleScopeSecondsCounter::FSimpleScopeSecondsCounter ( double InSeconds,
int32 InRecursionDepth 
)
inline

Ctor, capturing start time.

◆ ~FSimpleScopeSecondsCounter()

FSimpleScopeSecondsCounter::~FSimpleScopeSecondsCounter ( )
inline

Dtor, updating seconds with time delta.


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