![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UnrealEngine.h>
Public Member Functions | |
| FDetailedTickStats (int32 InNumClassesToReport, float InTimeBetweenLogDumps, float InMinTimeBetweenLogDumps, float InTimesToReport, const TCHAR *InOperationPerformed) | |
| virtual | ~FDetailedTickStats () |
| bool | BeginObject (UObject *Object) |
| void | EndObject (UObject *Object, float DeltaTime, bool bForSummary) |
| void | Reset () |
| void | DumpStats () |
| void | OnPreGarbageCollect () |
Helper struct for gathering detailed per object tick stats.
| FDetailedTickStats::FDetailedTickStats | ( | int32 | InNumObjectsToReport, |
| float | InTimeBetweenLogDumps, | ||
| float | InMinTimeBetweenLogDumps, | ||
| float | InTimesToReport, | ||
| const TCHAR * | InOperationPerformed | ||
| ) |
Constructor, initializing all members.
Constructor, private on purpose and initializing all members.
|
virtual |
Destructor
Destructor, unregisters the GC callback
Starts tracking an object and returns whether it's a recursive call or not. If it is recursive the function will return false and EndObject should not be called on the object.
| Object | Object to track |
| void FDetailedTickStats::DumpStats | ( | ) |
Dump gathered stats informatoin to the log.
Dump gathered stats information to the log.
Finishes tracking the object and updates the time spent.
| Object | Object to track |
| DeltaTime | Time we've been tracking it |
| bForSummary | Object should be used for high level summary |
Add instance of object to stats
| Object | Object instance |
| DeltaTime | Time operation took this instance |
| bForSummary | Object should be used for high level summary |
|
inline |
Delegate handler for pre garbage collect event
| void FDetailedTickStats::Reset | ( | ) |
Reset stats to clean slate.