Class ForgeTimings<T>
java.lang.Object
net.minecraftforge.server.timings.ForgeTimings<T>
- Type Parameters:
T
-
ForgeTimings aggregates timings data collected by
TimeTracker
for an Object
and performs operations for interpretation of the data.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Averages the raw timings data collectedRetrieves the object that the timings are for
-
Field Details
-
object
-
rawTimingData
private int[] rawTimingData
-
-
Constructor Details
-
ForgeTimings
-
-
Method Details
-
getObject
Retrieves the object that the timings are for- Returns:
- The object
-
getAverageTimings
public double getAverageTimings()Averages the raw timings data collected- Returns:
- An average of the raw timing data
-