Helper struct for gathering detailed per object tick stats. 更多...
#include <UnrealEngine.h>
Public 成员函数 | |
| bool | BeginObject (UObject *Object) |
| Starts tracking an object and returns whether it's a recursive call or not. 更多... | |
| void | DumpStats () |
| Dump gathered stats informatoin to the log. | |
| void | EndObject (UObject *Object, float DeltaTime, bool bForSummary) |
| Finishes tracking the object and updates the time spent. 更多... | |
| FDetailedTickStats (int32 InNumClassesToReport, float InTimeBetweenLogDumps, float InMinTimeBetweenLogDumps, float InTimesToReport, const TCHAR *InOperationPerformed) | |
| Constructor, initializing all members. | |
| void | OnPreGarbageCollect () |
| Delegate handler for pre garbage collect event | |
| void | Reset () |
| Reset stats to clean slate. | |
| virtual | ~FDetailedTickStats () |
| Destructor | |
Helper struct for gathering detailed per object tick stats.
| bool FDetailedTickStats::BeginObject | ( | UObject * | Object | ) |
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::EndObject | ( | UObject * | Object, |
| float | DeltaTime, | ||
| bool | bForSummary | ||
| ) |
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 |