FInGameCycleHistory

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "InGamePerformanceTracker.h"

Syntax

struct FInGameCycleHistory

Variables

Name Description

Public variable

TAtomic< uint64...

 

CachedAverageCycles

Current average cycles for access by others, possibly on other threads.

Public variable

TAtomic< uint64...

 

CurrFrameCycles

Current number of cycles for this frame.

Public variable

TArray< uint64 ...

 

FrameCycles

Cycles for each frame in history.

Public variable

int32

 

FrameIdx

Index of next frame in history to replace.

Public variable

uint64

 

TotalCycles

Cached running total for an overall average.

Constructors

Name Description

Public function

FInGameCycleHistory()

Public function

FInGameCycleHistory

(
    int32 InNumSamples
)

Functions

Name Description

Public function

void

 

AddCycles

(
    uint64 NewCycles
)

Adds a number of cycles for the current frame. Thread safe.

Public function Const

uint64

 

GetAverageCycles()

Public function

void

 

NextFrame()

Places the current data on the history and advances to the next frame index. Not thread safe.

Public function

void

 

Reset()

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