Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.Profiler
类 Game.Profiler 继承关系图:
Game.Profiler 的协作图:

class  Metric

Public 成员函数

 Profiler (string name)
void Dispose ()

静态 Public 成员函数

static void Sample ()
static void ReportAverage (Metric metric, StringBuilder text)
static void ReportFrame (Metric metric, StringBuilder text)
static void ReportAverage (StringBuilder text)
static void ReportFrame (StringBuilder text)
static void FormatTimeSimple (StringBuilder text, float time)
static void FormatTime (StringBuilder text, float time)

Public 属性

long m_startTicks
Metric m_metric

静态 Public 属性

static Dictionary< string, Metricm_metrics = []
static List< Metricm_sortedMetrics = []
static int m_maxNameLength
static bool m_sortNeeded
static bool Enabled = true

属性

static int MaxNameLength [get]
static ReadOnlyList< MetricMetrics [get]

详细描述

在文件 Profiler.cs6 行定义.

构造及析构函数说明

◆ Profiler()

Game.Profiler.Profiler ( string name)

在文件 Profiler.cs47 行定义.

函数调用图:

成员函数说明

◆ Dispose()

void Game.Profiler.Dispose ( )

在文件 Profiler.cs64 行定义.

◆ FormatTime()

void Game.Profiler.FormatTime ( StringBuilder text,
float time )
static

在文件 Profiler.cs125 行定义.

◆ FormatTimeSimple()

void Game.Profiler.FormatTimeSimple ( StringBuilder text,
float time )
static

在文件 Profiler.cs120 行定义.

这是这个函数的调用关系图:

◆ ReportAverage() [1/2]

void Game.Profiler.ReportAverage ( Metric metric,
StringBuilder text )
static

在文件 Profiler.cs87 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ ReportAverage() [2/2]

void Game.Profiler.ReportAverage ( StringBuilder text)
static

在文件 Profiler.cs106 行定义.

函数调用图:

◆ ReportFrame() [1/2]

void Game.Profiler.ReportFrame ( Metric metric,
StringBuilder text )
static

在文件 Profiler.cs98 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ ReportFrame() [2/2]

void Game.Profiler.ReportFrame ( StringBuilder text)
static

在文件 Profiler.cs113 行定义.

函数调用图:

◆ Sample()

void Game.Profiler.Sample ( )
static

在文件 Profiler.cs76 行定义.

函数调用图:

类成员变量说明

◆ Enabled

bool Game.Profiler.Enabled = true
static

在文件 Profiler.cs33 行定义.

◆ m_maxNameLength

int Game.Profiler.m_maxNameLength
static

在文件 Profiler.cs25 行定义.

◆ m_metric

Metric Game.Profiler.m_metric

在文件 Profiler.cs31 行定义.

◆ m_metrics

Dictionary<string, Metric> Game.Profiler.m_metrics = []
static

在文件 Profiler.cs21 行定义.

◆ m_sortedMetrics

List<Metric> Game.Profiler.m_sortedMetrics = []
static

在文件 Profiler.cs23 行定义.

◆ m_sortNeeded

bool Game.Profiler.m_sortNeeded
static

在文件 Profiler.cs27 行定义.

◆ m_startTicks

long Game.Profiler.m_startTicks

在文件 Profiler.cs29 行定义.

属性说明

◆ MaxNameLength

int Game.Profiler.MaxNameLength
staticget

在文件 Profiler.cs35 行定义.

◆ Metrics

ReadOnlyList<Metric> Game.Profiler.Metrics
staticget

在文件 Profiler.cs37 行定义.


该结构体的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Game/Profiler.cs