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_324172_) LocalSampleLogger
(int p_323703_, long[] p_324179_) -
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_324172_) -
LocalSampleLogger
public LocalSampleLogger(int p_323703_, long[] p_324179_)
-
-
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_324212_) - Specified by:
get
in interfaceSampleStorage
-
get
public long get(int p_323840_, int p_323620_) - Specified by:
get
in interfaceSampleStorage
-
wrapIndex
private int wrapIndex(int p_324200_) -
reset
public void reset()- Specified by:
reset
in interfaceSampleStorage
-