FInGamePerformanceTracker

Helper class to track code timings.

Windows
MacOS
Linux

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

References

Module

Engine

Header

Runtime/Engine/Public/InGamePerformanceTracker.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback