Class TracyZoneFiller
java.lang.Object
net.minecraft.util.profiling.TracyZoneFiller
- All Implemented Interfaces:
ProfilerFiller
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ProfilerFiller
ProfilerFiller.CombinedProfileFiller -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<com.mojang.jtracy.Zone> private static final org.slf4j.Loggerprivate final Stringprivate final Map<String, TracyZoneFiller.PlotAndValue> private static final StackWalkerFields inherited from interface ProfilerFiller
ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.jtracy.ZonevoidaddZoneText(String text) voidaddZoneValue(long value) voidendTick()voidincrementCounter(String name, int amount) voidincrementCounter(Supplier<String> name, int amount) voidmarkForCharting(MetricCategory category) voidpop()voidvoidvoidStart sectionvoidvoidsetZoneColor(int color) voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
startTickin interfaceProfilerFiller
-
endTick
public void endTick()- Specified by:
endTickin interfaceProfilerFiller
-
push
Description copied from interface:ProfilerFillerStart section- Specified by:
pushin interfaceProfilerFiller
-
push
- Specified by:
pushin interfaceProfilerFiller
-
pop
public void pop()- Specified by:
popin interfaceProfilerFiller
-
popPush
- Specified by:
popPushin interfaceProfilerFiller
-
popPush
- Specified by:
popPushin interfaceProfilerFiller
-
markForCharting
- Specified by:
markForChartingin interfaceProfilerFiller
-
incrementCounter
- Specified by:
incrementCounterin interfaceProfilerFiller
-
incrementCounter
- Specified by:
incrementCounterin interfaceProfilerFiller
-
activeZone
private com.mojang.jtracy.Zone activeZone() -
addZoneText
- Specified by:
addZoneTextin interfaceProfilerFiller
-
addZoneValue
public void addZoneValue(long value) - Specified by:
addZoneValuein interfaceProfilerFiller
-
setZoneColor
public void setZoneColor(int color) - Specified by:
setZoneColorin interfaceProfilerFiller
-