FPerfStatsRecord

A set of simple perf stats recorded over a period of frames.

Windows
MacOS
Linux

References

Module

FunctionalTesting

Header

/Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h

Include

#include "FunctionalTest.h"

Syntax

struct FPerfStatsRecord

Remarks

A set of simple perf stats recorded over a period of frames.

Variables

Name Description

Public variable

FStatsData

 

Baseline

Stats data for the baseline.

Public variable

float

 

GameThreadBudget

Public variable

float

 

GPUBudget

Public variable

FString

 

Name

Public variable

FStatsData

 

Record

Stats data for the period we're interested in timing.

Public variable

float

 

RenderThreadBudget

Constructors

Name Description

Public function

FPerfStatsRecord

(
    FString InName
)

Functions

Name Description

Public function Const

FString

 

GetBaselineString()

Public function Const

void

 

GetGameThreadTimes

(
    double& OutMin,
    double& OutMax,
    double& OutAvg
)

Public function Const

void

 

GetGPUTimes

(
    double& OutMin,
    double& OutMax,
    double& OutAvg
)

Public function Const

FString

 

GetOverBudgetString()

Public function Const

FString

 

GetRecordString()

Public function Const

void

 

GetRenderThreadTimes

(
    double& OutMin,
    double& OutMax,
    double& OutAvg
)

Public function Const

FString

 

GetReportString()

Public function Const

bool

 

IsWithinGameThreadBudget()

Public function Const

bool

 

IsWithinGPUBudget()

Public function Const

bool

 

IsWithinRenderThreadBudget()

Public function

void

 

Sample

(
    UWorld* Owner,
    float DeltaSeconds,
    bool bBaseline
)

Public function

void

 

SetBudgets

(
    float InGPUBudget,
    float InRenderThreadBudget,
    float InGameThreadBudget
)

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