T
- public class ForgeTimings<T>
extends java.lang.Object
TimeTracker
for an Object
and performs operations for interpretation of the data.Modifier and Type | Field and Description |
---|---|
private java.lang.ref.WeakReference<T> |
object |
private int[] |
rawTimingData |
Constructor and Description |
---|
ForgeTimings(T object,
int[] rawTimingData) |
Modifier and Type | Method and Description |
---|---|
double |
getAverageTimings()
Averages the raw timings data collected
|
java.lang.ref.WeakReference<T> |
getObject()
Retrieves the object that the timings are for
|
private java.lang.ref.WeakReference<T> object
private int[] rawTimingData
public ForgeTimings(T object, int[] rawTimingData)
public java.lang.ref.WeakReference<T> getObject()
public double getAverageTimings()