![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <StatsMisc.h>
Inheritance diagram for FConditionalScopeLogTime:Public Types | |
| enum | EScopeLogTimeUnits { ScopeLog_DontLog , ScopeLog_Milliseconds , ScopeLog_Seconds } |
Public Member Functions | |
| 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 () |
Protected Member Functions | |
| double | GetDisplayScopedTime (double InScopedTime) const |
| FString | GetDisplayUnitsString () const |
Protected Attributes | |
| const double | StartTime |
| const FString | Name |
| FTotalTimeAndCount * | Cumulative |
| EScopeLogTimeUnits | Units |
Utility class to log time passed in seconds, adding cumulative stats to passed in variable.
| FConditionalScopeLogTime::FConditionalScopeLogTime | ( | bool | bCondition, |
| const WIDECHAR * | InName, | ||
| FTotalTimeAndCount * | InCumulative = nullptr, |
||
| EScopeLogTimeUnits | InUnits = ScopeLog_Milliseconds |
||
| ) |
Initialization constructor.
| InName | - String that will be displayed in the log |
| InGlobal | - Pointer to the variable that holds the cumulative stats |
| FConditionalScopeLogTime::FConditionalScopeLogTime | ( | bool | bCondition, |
| const ANSICHAR * | InName, | ||
| FTotalTimeAndCount * | InCumulative = nullptr, |
||
| EScopeLogTimeUnits | InUnits = ScopeLog_Milliseconds |
||
| ) |
| FConditionalScopeLogTime::~FConditionalScopeLogTime | ( | ) |
Destructor.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |