Package net.minecraft.util.profiling
Class TracyZoneFiller
java.lang.Object
net.minecraft.util.profiling.TracyZoneFiller
- All Implemented Interfaces:
ProfilerFiller
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
Nested classes/interfaces inherited from interface net.minecraft.util.profiling.ProfilerFiller
ProfilerFiller.CombinedProfileFiller
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<com.mojang.jtracy.Zone> private static final org.slf4j.Logger
private final String
private final Map
<String, TracyZoneFiller.PlotAndValue> private static final StackWalker
Fields inherited from interface net.minecraft.util.profiling.ProfilerFiller
ROOT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.jtracy.Zone
void
addZoneText
(String pText) void
addZoneValue
(long pValue) void
endTick()
void
incrementCounter
(String pCounterName, int pIncrement) void
incrementCounter
(Supplier<String> pCounterNameSupplier, int pIncrement) void
markForCharting
(MetricCategory pCategory) void
pop()
void
void
void
Start sectionvoid
void
setZoneColor
(int pColor) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.profiling.ProfilerFiller
incrementCounter, incrementCounter, zone, zone
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
STACK_WALKER
-
activeZones
-
plots
-
name
-
-
Constructor Details
-
TracyZoneFiller
public TracyZoneFiller()
-
-
Method Details
-
startTick
public void startTick()- Specified by:
startTick
in interfaceProfilerFiller
-
endTick
public void endTick()- Specified by:
endTick
in interfaceProfilerFiller
-
push
Start section- Specified by:
push
in interfaceProfilerFiller
-
push
- Specified by:
push
in interfaceProfilerFiller
-
pop
public void pop()- Specified by:
pop
in interfaceProfilerFiller
-
popPush
- Specified by:
popPush
in interfaceProfilerFiller
-
popPush
- Specified by:
popPush
in interfaceProfilerFiller
-
markForCharting
- Specified by:
markForCharting
in interfaceProfilerFiller
-
incrementCounter
- Specified by:
incrementCounter
in interfaceProfilerFiller
-
incrementCounter
- Specified by:
incrementCounter
in interfaceProfilerFiller
-
activeZone
private com.mojang.jtracy.Zone activeZone() -
addZoneText
- Specified by:
addZoneText
in interfaceProfilerFiller
-
addZoneValue
public void addZoneValue(long pValue) - Specified by:
addZoneValue
in interfaceProfilerFiller
-
setZoneColor
public void setZoneColor(int pColor) - Specified by:
setZoneColor
in interfaceProfilerFiller
-