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

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

#include <Stats2.h>

Public 成员函数

 DECLARE_DELEGATE_ThreeParams (FOnAdvanceRenderingThreadStats, bool, int64, int32)
 Delegate to fire every time we need to advance the stats for the rendering thread.
 

静态 Public 成员函数

static void AdvanceFrame (bool bDiscardCallstack, const FOnAdvanceRenderingThreadStats &AdvanceRenderingThreadStatsDelegate=FOnAdvanceRenderingThreadStats())
 Advances stats for the current frame.
 
static bool EnabledForCommandlet ()
 
static bool HasLoadTimeFileForCommandletToken ()
 
static bool HasLoadTimeStatsForCommandletToken ()
 
static void TickCommandletStats ()
 Advances stats for commandlets, only valid if the command line has the proper token. 更多...
 

静态 Public 属性

static TAtomic< int32 > GameThreadStatsFrame
 Current game thread stats frame.
 

详细描述

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

成员函数说明

◆ EnabledForCommandlet()

static bool FStats::EnabledForCommandlet ( )
static
返回
true, if the command line has the LoadTimeStatsForCommandlet or LoadTimeFileForCommandlet token which enables stats in the commandlets. !!!CAUTION!!! You need to manually advance stats frame in order to maintain the data integrity and not to leak the memory.

◆ HasLoadTimeFileForCommandletToken()

static bool FStats::HasLoadTimeFileForCommandletToken ( )
static
返回
true, if the command line has the LoadTimeFileForCommandlet token which enables LoadTimeFile equivalent for commandlets.

◆ HasLoadTimeStatsForCommandletToken()

static bool FStats::HasLoadTimeStatsForCommandletToken ( )
static
返回
true, if the command line has the LoadTimeStatsForCommandlet token which enables LoadTimeStats equivalent for commandlets. All collected stats will be dumped to the log file at the end of running the specified commandlet.

◆ TickCommandletStats()

static void FStats::TickCommandletStats ( )
static

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

参见
HasStatsForCommandletsToken

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