FConditionalScopeLogTime

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

Windows
MacOS
Linux

Inheritance Hierarchy

FConditionalScopeLogTime

FScopeLogTime

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Stats/StatsMisc.h

Include

#include "Stats/StatsMisc.h"

Syntax

struct FConditionalScopeLogTime

Remarks

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

Variables

Name Description

Protected variable

FTotalTimeAndCo...

 

Cumulative

Protected variable

const FString

 

Name

Protected variable

const double

 

StartTime

Protected variable

EScopeLogTimeUn...

 

Units

Constructors

Name Description

Public function

FConditionalScopeLogTime

(
    bool bCondition,
    const WIDECHAR* InName,
    FTotalTimeAndCount* InCumulati...,
    EScopeLogTimeUnits InUnits
)

Initialization constructor.

Public function

FConditionalScopeLogTime

(
    bool bCondition,
    const ANSICHAR* InName,
    FTotalTimeAndCount* InCumulati...,
    EScopeLogTimeUnits InUnits
)

Destructors

Name Description

Public function

~FConditionalScopeLogTime()

Destructor.

Functions

Name Description

Protected function Const

double

 

GetDisplayScopedTime

(
    double InScopedTime
)

Protected function Const

FString

 

GetDisplayUnitsString()

Enums

Name

Description

Public enum

EScopeLogTimeUnits

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss