Package net.minecraft.util.debugchart
Class LocalSampleLogger
java.lang.Object
net.minecraft.util.debugchart.AbstractSampleLogger
net.minecraft.util.debugchart.LocalSampleLogger
- All Implemented Interfaces:
SampleLogger
,SampleStorage
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private final long[][]
private int
private int
Fields inherited from class net.minecraft.util.debugchart.AbstractSampleLogger
defaults, sample
-
Constructor Summary
ConstructorDescriptionLocalSampleLogger
(int p_334158_) LocalSampleLogger
(int p_330975_, long[] p_333573_) -
Method Summary
Methods inherited from class net.minecraft.util.debugchart.AbstractSampleLogger
logFullSample, logPartialSample, logSample, resetSample
-
Field Details
-
CAPACITY
public static final int CAPACITY- See Also:
-
samples
private final long[][] samples -
start
private int start -
size
private int size
-
-
Constructor Details
-
LocalSampleLogger
public LocalSampleLogger(int p_334158_) -
LocalSampleLogger
public LocalSampleLogger(int p_330975_, long[] p_333573_)
-
-
Method Details
-
useSample
protected void useSample()- Specified by:
useSample
in classAbstractSampleLogger
-
capacity
public int capacity()- Specified by:
capacity
in interfaceSampleStorage
-
size
public int size()- Specified by:
size
in interfaceSampleStorage
-
get
public long get(int p_334223_) - Specified by:
get
in interfaceSampleStorage
-
get
public long get(int p_335582_, int p_331656_) - Specified by:
get
in interfaceSampleStorage
-
wrapIndex
private int wrapIndex(int p_330672_) -
reset
public void reset()- Specified by:
reset
in interfaceSampleStorage
-