FDetailedTickStats

Helper struct for gathering detailed per object tick stats.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealEngine.h

Include

#include "UnrealEngine.h"

Syntax

struct FDetailedTickStats

Remarks

Helper struct for gathering detailed per object tick stats.

Constructors

Name Description

Public function

FDetailedTickStats

(
    int32 InNumClassesToReport,
    float InTimeBetweenLogDumps,
    float InMinTimeBetweenLogDumps,
    float InTimesToReport,
    const TCHAR* InOperationPerfor...
)

Constructor, initializing all members.

Destructors

Name Description

Public function Virtual

~FDetailedTickStats()

Destructor

Destructor, unregisters the GC callback

Functions

Name Description

Public function

bool

 

BeginObject

(
    UObject* Object
)

Starts tracking an object and returns whether it's a recursive call or not.

Public function

void

 

DumpStats()

Dump gathered stats informatoin to the log.

Dump gathered stats information to the log.

Public function

void

 

EndObject

(
    UObject* Object,
    float DeltaTime,
    bool bForSummary
)

Finishes tracking the object and updates the time spent.

Add instance of object to stats

Public function

void

 

OnPreGarbageCollect()

Delegate handler for pre garbage collect event

Public function

void

 

Reset()

Reset stats to clean slate.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss