Package net.minecraft.util
Class MetricsData
java.lang.Object
net.minecraft.util.MetricsData
- Mappings:
Namespace Name official aox
intermediary net/minecraft/class_3517
named net/minecraft/util/MetricsData
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final long[]
static final int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
average
(int offset) int
long[]
int
int
method_34913
(int offset, int int2) void
pushSample
(long time) int
scaleSample
(long sample, int destScale, int srcScale) int
wrapIndex
(int index)
-
Field Details
-
SIZE
public static final int SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Laox;a:I
intermediary field_29839
Lnet/minecraft/class_3517;field_29839:I
named SIZE
Lnet/minecraft/util/MetricsData;SIZE:I
-
samples
private final long[] samples- Mappings:
Namespace Name Mixin selector official b
Laox;b:[J
intermediary field_15653
Lnet/minecraft/class_3517;field_15653:[J
named samples
Lnet/minecraft/util/MetricsData;samples:[J
-
startIndex
private int startIndex- Mappings:
Namespace Name Mixin selector official c
Laox;c:I
intermediary field_15656
Lnet/minecraft/class_3517;field_15656:I
named startIndex
Lnet/minecraft/util/MetricsData;startIndex:I
-
sampleCount
private int sampleCount- Mappings:
Namespace Name Mixin selector official d
Laox;d:I
intermediary field_15655
Lnet/minecraft/class_3517;field_15655:I
named sampleCount
Lnet/minecraft/util/MetricsData;sampleCount:I
-
writeIndex
private int writeIndex- Mappings:
Namespace Name Mixin selector official e
Laox;e:I
intermediary field_15654
Lnet/minecraft/class_3517;field_15654:I
named writeIndex
Lnet/minecraft/util/MetricsData;writeIndex:I
-
-
Constructor Details
-
MetricsData
public MetricsData()
-
-
Method Details
-
pushSample
public void pushSample(long time) - Mappings:
Namespace Name Mixin selector official a
Laox;a(J)V
intermediary method_15247
Lnet/minecraft/class_3517;method_15247(J)V
named pushSample
Lnet/minecraft/util/MetricsData;pushSample(J)V
-
average
public long average(int offset) - Mappings:
Namespace Name Mixin selector official a
Laox;a(I)J
intermediary method_34912
Lnet/minecraft/class_3517;method_34912(I)J
named average
Lnet/minecraft/util/MetricsData;average(I)J
-
method_34913
public int method_34913(int offset, int int2) - Mappings:
Namespace Name Mixin selector official a
Laox;a(II)I
intermediary method_34913
Lnet/minecraft/class_3517;method_34913(II)I
named method_34913
Lnet/minecraft/util/MetricsData;method_34913(II)I
-
scaleSample
public int scaleSample(long sample, int destScale, int srcScale) - Mappings:
Namespace Name Mixin selector official a
Laox;a(JII)I
intermediary method_15248
Lnet/minecraft/class_3517;method_15248(JII)I
named scaleSample
Lnet/minecraft/util/MetricsData;scaleSample(JII)I
-
getStartIndex
public int getStartIndex()- Mappings:
Namespace Name Mixin selector official a
Laox;a()I
intermediary method_15249
Lnet/minecraft/class_3517;method_15249()I
named getStartIndex
Lnet/minecraft/util/MetricsData;getStartIndex()I
-
getCurrentIndex
public int getCurrentIndex()- Mappings:
Namespace Name Mixin selector official b
Laox;b()I
intermediary method_15250
Lnet/minecraft/class_3517;method_15250()I
named getCurrentIndex
Lnet/minecraft/util/MetricsData;getCurrentIndex()I
-
wrapIndex
public int wrapIndex(int index) - Mappings:
Namespace Name Mixin selector official b
Laox;b(I)I
intermediary method_15251
Lnet/minecraft/class_3517;method_15251(I)I
named wrapIndex
Lnet/minecraft/util/MetricsData;wrapIndex(I)I
-
getSamples
public long[] getSamples()- Mappings:
Namespace Name Mixin selector official c
Laox;c()[J
intermediary method_15246
Lnet/minecraft/class_3517;method_15246()[J
named getSamples
Lnet/minecraft/util/MetricsData;getSamples()[J
-