FPerfStatsRecord

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

Unreal Engine C++ API Reference > Developer > FunctionalTesting

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

Type Name Description
FStatsData Baseline Stats data for the baseline.
float GameThreadBudget  
float GPUBudget  
FString Name  
FStatsData Record Stats data for the period we're interested in timing.
float RenderThreadBudget  

Constructors

Type Name Description
  FPerfStatsRecord ( FString InName )  

Functions

Type Name Description
FString GetBaselineString ()  
void GetGameThreadTimes ( double& OutMin, double& OutMax, double& OutAvg )  
void GetGPUTimes ( double& OutMin, double& OutMax, double& OutAvg )  
FString GetOverBudgetString ()  
FString GetRecordString ()  
void GetRenderThreadTimes ( double& OutMin, double& OutMax, double& OutAvg )  
FString GetReportString ()  
bool IsWithinGameThreadBudget ()  
bool IsWithinGPUBudget ()  
bool IsWithinRenderThreadBudget ()  
void Sample ( UWorld* Owner, float DeltaSeconds, bool bBaseline )  
void SetBudgets ( float InGPUBudget, float InRenderThreadBudget, float InGameThreadBudget )  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library