Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ProfilingDebugging/HealthSnapshot.h |
Include |
#include "ProfilingDebugging/HealthSnapshot.h" |
class FHealthSnapshot
Describes a health snapshot about the game at the current time including memory stats. If given a FPerformanceTrackingChart with MeasuredPerfTime > 0, this will also include a basic summary of the active FPS charting session as performance stats. You can create HealthSnapshots simply by creating a new object with the constructor.
See UHealthSnapshotBlueprintLibrary for static helpers that can manage a performance chart if one does not already exist
Snapshots can be dumped to logs or any other FOutputDevice.
Name | Description | ||
---|---|---|---|
|
double |
AvgFPS |
|
|
double |
AvgHitchTime |
|
|
FMemoryStat< fl... |
CPUMemoryMB |
General "how much memory is used". |
|
FMmaStat< int > |
DrawCalls |
|
|
FMmaStat< doubl... |
DynamicResolution |
|
|
FMmaStat< doubl... |
FrameTime |
|
|
GameThread |
||
|
GPU |
||
|
double |
HitchesPerMinute |
|
|
float |
LLMTotalMemoryMB |
|
|
double |
MeasuredPerfTime |
Performance data |
|
double |
MVP |
|
|
PhysicalMemory |
||
|
FMemoryStat< fl... |
PhysicalMemoryMB |
System level info. |
|
TArray< typenam... |
PlatformMemoryStats |
|
|
FMmaStat< int > |
PrimitivesDrawn |
|
|
RenderThread |
||
|
RHIThread |
||
|
FMemoryStat< fl... |
StreamingMemoryMB |
|
|
Title |
Title of the Snapshot |
|
|
VirtualMemory |
Name | Description | |
---|---|---|
|
FHealthSnapshot ( |
Create a snapshot of the current game health. Captures only memory stats. |
|
FHealthSnapshot ( |
Create a snapshot of the current game health. Captures both memory and performance stats. |
Name | Description | |
---|---|---|
|
~FHealthSnapshot() |
Name | Description | ||
---|---|---|---|
|
CaptureMemoryStats() |
Snapshots current memory stats |
|
|
CapturePerformanceStats ( |
Snapshots performance stats if the given tracking chart is filled with FPS charting data (MeasuredPerfTime > 0) |
|
|
Dump ( |
Dumps a text blob describing all stats captured by the snapshot to the given output device. |
|
|
DumpStats ( |
Dump a text blob describing all stats captured by the snapshot to the given output device with the given log category. |
Name |
Description |
|
---|---|---|
|
FMemoryStat |
Helper class that can describe memory in a system. Some systems may not provide Used/Peak values. |
|
FMmaStat |
|
|
FThreadStat |