FStats

Helper struct that contains method available even when the stats are disabled.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Stats/Stats2.h

Include

#include "Stats/Stats2.h"

Syntax

struct FStats

Remarks

Helper struct that contains method available even when the stats are disabled.

Functions

Name Description

Public function Static

void

 

AdvanceFrame

(
    bool bDiscardCallstack,
    const FOnAdvanceRenderingThreadStat...
)

Advances stats for the current frame.

Public function Static

bool

 

EnabledForCommandlet()

Public function Static

bool

 

HasLoadTimeFileForCommandletToken()

Public function Static

bool

 

HasLoadTimeStatsForCommandletToken()

Public function Static

void

 

TickCommandletStats()

Advances stats for commandlets, only valid if the command line has the proper token.

Typedefs

Name

Description

FOnAdvanceRenderingThreadStats

Delegate to fire every time we need to advance the stats for the rendering thread.

Constants

Name

Description

GameThreadStatsFrame

Current game thread stats frame.

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