Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UHealthSnapshotBlueprintLibrary
Description
Writes a snapshot to the log. Captures memory stats by default. Also captures performance stats if called after StartHealthSnapshotChart and before SopHealthSnapshotChart.
| Name | LogPerformanceSnapshot |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ProfilingDebugging/HealthSnapshot.h |
| Include Path | #include "ProfilingDebugging/HealthSnapshot.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ProfilingDebugging/HealthSnapshot.cpp |
UFUNCTION (Exec, BlueprintCallable, Category="Performance | HealthSnapshot")
static void LogPerformanceSnapshot
(
const FString SnapshotTitle,
bool bResetStats
)
Parameters
| Name | Remarks |
|---|---|
| SnapshotTitle | The name to be given to the new HealthSnapshot. |