类 ObjectTimings<T>
java.lang.Object
net.neoforged.neoforge.server.timings.ObjectTimings<T>
- 类型参数:
T
-
ObjectTimings aggregates timings data collected by
TimeTracker
for an Object
and performs operations for interpretation of the data.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明double
Averages the raw timings data collectedRetrieves the object that the timings are for
-
字段详细资料
-
object
-
rawTimingData
private int[] rawTimingData
-
-
构造器详细资料
-
ObjectTimings
-
-
方法详细资料
-
getObject
Retrieves the object that the timings are for- 返回:
- The object
-
getAverageTimings
public double getAverageTimings()Averages the raw timings data collected- 返回:
- An average of the raw timing data
-