Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- IPerformanceDataConsumer
- FPerformanceTrackingChart
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ChartCreation.h |
Include | #include "ChartCreation.h" |
Syntax
class FPerformanceTrackingChart : public IPerformanceDataConsumer
Remarks
Chart for a single portion of gameplay (e.g., gameplay or in-game-shop or settings menu open) WARNING: If you add members here, you MUST also update AccumulateWith() as it accumulates each measure from another chart.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
double | AccumulatedChartTime | Total accumulated raw (including idle) time spent with the chart registered |
![]() |
bool | bIsChartingPaused | |
![]() |
FDateTime | CaptureStartTime | Start time of the capture |
![]() |
FString | ChartLabel | The mode being tracked by this chart. |
![]() |
FString | DeviceProfileName | WARNING: This value could technically change while data collection is ongoing. |
![]() |
FHistogram | DynamicResHistogram | Hitch time histogram (in seconds) |
![]() |
int | FramesDisregarded | Number of frames that were disregarded because the frame was too long. |
![]() |
FHistogram | FrametimeHistogram | Frame time histogram (in seconds) |
![]() |
FHistogram | HitchTimeHistogram | Hitch time histogram (in seconds) |
![]() |
int32 | MaxDrawCalls | Total number of draw calls made |
![]() |
int32 | MaxDrawnPrimitives | Total number of primitives drawn |
![]() |
double | MaxFlushAsyncLoadingTime | |
![]() |
uint64 | MaxPhysicalMemory | |
![]() |
int32 | MaxPlayerTicks | Total number of player ticks (note: it is up to the game to populate this field) WARNING: Legacy fields. |
![]() |
int32 | MaxVehicleTicks | Total number of vehicle ticks (note: it is up to the game to populate this field) WARNING: Legacy field. |
![]() |
uint64 | MaxVirtualMemory | |
![]() |
uint64 | MinAvailablePhysicalMemory | |
![]() |
int32 | MinDrawCalls | |
![]() |
int32 | MinDrawnPrimitives | |
![]() |
uint64 | MinPhysicalMemory | |
![]() |
int32 | MinPlayerTicks | |
![]() |
uint64 | MinVirtualMemory | |
![]() |
uint32 | NumFramesAtCriticalMemoryPressure | Memory stats |
![]() |
uint32 | NumFramesBound_GameThread | Number of frames for each time of |
![]() |
uint32 | NumFramesBound_GPU | |
![]() |
uint32 | NumFramesBound_RenderThread | |
![]() |
uint32 | NumFramesBound_RHIThread | |
![]() |
int | StartBatteryLevel | |
![]() |
float | StartTemperatureLevel | |
![]() |
int | StopBatteryLevel | |
![]() |
float | StopTemperatureLevel | |
![]() |
double | TimeDisregarded | Total time (sec) that were disregarded because the frame was too long. |
![]() |
int32 | TotalDrawCalls | |
![]() |
int64 | TotalDrawnPrimitives | |
![]() |
int32 | TotalFlushAsyncLoadingCalls | |
![]() |
double | TotalFlushAsyncLoadingTime | Total time spent flushing async loading (in seconds), and call count |
![]() |
double | TotalFramesBoundTime_GameThread | Time spent bound on each kind of thing (in seconds) |
![]() |
double | TotalFramesBoundTime_GPU | |
![]() |
double | TotalFramesBoundTime_RenderThread | |
![]() |
double | TotalFramesBoundTime_RHIThread | |
![]() |
double | TotalFrameTime_GameThread | Total time spent on each thread (in seconds) |
![]() |
double | TotalFrameTime_GPU | |
![]() |
double | TotalFrameTime_RenderThread | |
![]() |
double | TotalFrameTime_RHIThread | |
![]() |
int32 | TotalGameThreadBoundHitchCount | Total number of hitches bound by each kind of thing |
![]() |
int32 | TotalGPUBoundHitchCount | |
![]() |
uint64 | TotalPhysicalMemoryUsed | |
![]() |
int32 | TotalPlayerTicks | |
![]() |
int32 | TotalRenderThreadBoundHitchCount | |
![]() |
int32 | TotalRHIThreadBoundHitchCount | |
![]() |
uint32 | TotalSyncLoadCount | Total number of sync loads |
![]() |
int32 | TotalVehicleTicks | |
![]() |
uint64 | TotalVirtualMemoryUsed |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FPerformanceTrackingChart
(
const FDateTime& InStartTime, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AccumulateWith
(
const FPerformanceTrackingChart& Chart |
|
![]() |
void | ChangeLabel
(
const FString& NewLabel |
|
![]() |
void | DumpChartsToOutputLog
(
double WallClockElapsed, |
Dumps the FPS chart information to the log. |
![]() ![]() |
void | DumpChartToAnalyticsParams
(
const FString& InMapName, |
Dumps the FPS chart information to an analytic event param array. |
![]() |
void | DumpFPSChart
(
const FString& InMapName |
|
![]() ![]() |
double | ||
![]() ![]() |
double | ||
![]() ![]() |
double | ||
![]() ![]() |
int64 | GetNumFrames () |
|
![]() ![]() |
int64 | ||
![]() ![]() |
double | GetPercentHitchTime
(
bool bSubtractHitchThreshold |
|
![]() ![]() |
double | GetPercentMissedVSync
(
int32 TargetFPS |
|
![]() ![]() |
double | GetTotalHitchFrameTime
(
bool bSubtractHitchThreshold |
Sum of all recorded hitch lengths (in seconds) |
![]() ![]() |
double | GetTotalTime () |
|
![]() |
void | ||
![]() |
void | Discard all accumulated data. | |
![]() |
void |
Overridden from IPerformanceDataConsumer
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ProcessFrame
(
const FFrameData& FrameData |
|
![]() ![]() |
void | ||
![]() ![]() |
void | StopCharting () |