FInGamePerformanceTracker

Helper class to track code timings.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/InGamePerformanceTracker.h

Include

#include "InGamePerformanceTracker.h"

Syntax

class FInGamePerformanceTracker

Remarks

Helper class to track code timings. Similar to stats but much more minimal as they're intended to be used at InGame. Though it's still not free so use wisely.

Constructors

Name Description

Public function

FInGamePerformanceTracker()

Public function

FInGamePerformanceTracker

(
    uint32 FrameHistorySize
)

Functions

Name Description

Public function

void

 

AddCycles

(
    uint32 Cycles
)

Adds cycles collected from an external helper object.

Public function

void

 

EnterTimedSection()

Enters a timed section of code.

Public function

void

 

ExitTimedSection()

Enters a timed section of code.

Public function Const

float

 

GetAverageTimeSeconds()

Public function

void

 

Tick()

Constants

Name

Description

CachedEnabled

Enabled

HistorySize

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