Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FGCHistory
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/GarbageCollectionHistory.h |
| Include | #include "UObject/GarbageCollectionHistory.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/GarbageCollectionHistory.cpp |
FGCSnapshot &42; GetSnapshot
&40;
int32 HistoryLevel
&41;
Remarks
Gets a snapshot of a previous GC run. Pointer to a prevous GC run snapshot or null if there's not been that many recorded GC runs yet
Parameters
| Name | Description |
|---|---|
| HistoryLevel | Index of a previous run: 0 - the last one, 1 - the one before and up to (GetHistorySize() - 1). Negative values are also accepted. |