UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FScopeLogTime Struct Reference

#include <StatsMisc.h>

+ Inheritance diagram for FScopeLogTime:

Public Member Functions

 FScopeLogTime (const WIDECHAR *InName, FTotalTimeAndCount *InCumulative=nullptr, EScopeLogTimeUnits InUnits=ScopeLog_Milliseconds)
 
 FScopeLogTime (const ANSICHAR *InName, FTotalTimeAndCount *InCumulative=nullptr, EScopeLogTimeUnits InUnits=ScopeLog_Milliseconds)
 
- Public Member Functions inherited from FConditionalScopeLogTime
CORE_API FConditionalScopeLogTime (bool bCondition, const WIDECHAR *InName, FTotalTimeAndCount *InCumulative=nullptr, EScopeLogTimeUnits InUnits=ScopeLog_Milliseconds)
 
CORE_API FConditionalScopeLogTime (bool bCondition, const ANSICHAR *InName, FTotalTimeAndCount *InCumulative=nullptr, EScopeLogTimeUnits InUnits=ScopeLog_Milliseconds)
 
CORE_API ~FConditionalScopeLogTime ()
 

Additional Inherited Members

- Public Types inherited from FConditionalScopeLogTime
enum  EScopeLogTimeUnits { ScopeLog_DontLog , ScopeLog_Milliseconds , ScopeLog_Seconds }
 
- Protected Member Functions inherited from FConditionalScopeLogTime
double GetDisplayScopedTime (double InScopedTime) const
 
FString GetDisplayUnitsString () const
 
- Protected Attributes inherited from FConditionalScopeLogTime
const double StartTime
 
const FString Name
 
FTotalTimeAndCountCumulative
 
EScopeLogTimeUnits Units
 

Detailed Description

Utility class to log time passed in seconds, adding cumulative stats to passed in variable.

Constructor & Destructor Documentation

◆ FScopeLogTime() [1/2]

FScopeLogTime::FScopeLogTime ( const WIDECHAR InName,
FTotalTimeAndCount InCumulative = nullptr,
EScopeLogTimeUnits  InUnits = ScopeLog_Milliseconds 
)
inline

◆ FScopeLogTime() [2/2]

FScopeLogTime::FScopeLogTime ( const ANSICHAR InName,
FTotalTimeAndCount InCumulative = nullptr,
EScopeLogTimeUnits  InUnits = ScopeLog_Milliseconds 
)
inline

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