engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FDetailedTickStats结构体 参考

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.

成员函数说明

◆ BeginObject()

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.

参数
ObjectObject to track
返回
false if object is already tracked and EndObject should NOT be called, true otherwise

◆ EndObject()

void FDetailedTickStats::EndObject ( UObject *  Object,
float  DeltaTime,
bool  bForSummary 
)

Finishes tracking the object and updates the time spent.

参数
ObjectObject to track
DeltaTimeTime we've been tracking it
bForSummaryObject should be used for high level summary

该结构体的文档由以下文件生成: