Package net.minecraft.util.profiling
Class ActiveProfiler
java.lang.Object
net.minecraft.util.profiling.ActiveProfiler
- All Implemented Interfaces:
- ProfileCollector,- ProfilerFiller
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Set<org.apache.commons.lang3.tuple.Pair<String,MetricCategory>> private ActiveProfiler.PathEntryprivate final Map<String,ActiveProfiler.PathEntry> private final LongSupplierprivate final IntSupplierprivate static final org.slf4j.Loggerprivate Stringprivate booleanprivate final longprivate final it.unimi.dsi.fastutil.longs.LongListprivate final intprivate final booleanprivate static final longFields inherited from interface net.minecraft.util.profiling.ProfilerFillerROOT
- 
Constructor SummaryConstructorsConstructorDescriptionActiveProfiler(LongSupplier p_18383_, IntSupplier p_18384_, boolean p_18385_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidendTick()Set<org.apache.commons.lang3.tuple.Pair<String,MetricCategory>> private ActiveProfiler.PathEntryvoidincrementCounter(String p_185247_, int p_185248_) voidincrementCounter(Supplier<String> p_185250_, int p_185251_) voidmarkForCharting(MetricCategory p_145928_) voidpop()voidvoidvoidvoidvoidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.profiling.ProfilerFillerincrementCounter, incrementCounter
- 
Field Details- 
WARNING_TIME_NANOSprivate static final long WARNING_TIME_NANOS
- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
paths
- 
startTimesprivate final it.unimi.dsi.fastutil.longs.LongList startTimes
- 
entries
- 
getTickTime
- 
getRealTime
- 
startTimeNanoprivate final long startTimeNano
- 
startTimeTicksprivate final int startTimeTicks
- 
path
- 
startedprivate boolean started
- 
currentEntry
- 
warnprivate final boolean warn
- 
chartedPaths
 
- 
- 
Constructor Details- 
ActiveProfiler
 
- 
- 
Method Details- 
startTickpublic void startTick()- Specified by:
- startTickin interface- ProfilerFiller
 
- 
endTickpublic void endTick()- Specified by:
- endTickin interface- ProfilerFiller
 
- 
push- Specified by:
- pushin interface- ProfilerFiller
 
- 
push- Specified by:
- pushin interface- ProfilerFiller
 
- 
markForCharting- Specified by:
- markForChartingin interface- ProfilerFiller
 
- 
poppublic void pop()- Specified by:
- popin interface- ProfilerFiller
 
- 
popPush- Specified by:
- popPushin interface- ProfilerFiller
 
- 
popPush- Specified by:
- popPushin interface- ProfilerFiller
 
- 
getCurrentEntry
- 
incrementCounter- Specified by:
- incrementCounterin interface- ProfilerFiller
 
- 
incrementCounter- Specified by:
- incrementCounterin interface- ProfilerFiller
 
- 
getResults- Specified by:
- getResultsin interface- ProfileCollector
 
- 
getEntry- Specified by:
- getEntryin interface- ProfileCollector
 
- 
getChartedPaths- Specified by:
- getChartedPathsin interface- ProfileCollector
 
 
-