public class MetricsData extends Object
Modifier and Type | Field and Description |
---|---|
private int |
sampleCount |
private long[] |
samples |
private int |
startIndex |
private int |
writeIndex |
Constructor and Description |
---|
MetricsData() |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentIndex() |
long[] |
getSamples() |
int |
getStartIndex() |
int |
method_15248(long long2,
int int2,
int int3) |
void |
pushSample(long time) |
int |
wrapIndex(int index) |
private final long[] samples
private int startIndex
private int sampleCount
private int writeIndex
public void pushSample(long time)
@Environment(value=CLIENT) public int method_15248(long long2, int int2, int int3)
@Environment(value=CLIENT) public int getStartIndex()
@Environment(value=CLIENT) public int getCurrentIndex()
public int wrapIndex(int index)
@Environment(value=CLIENT) public long[] getSamples()