net.minecraft.util.profiling

public class ActiveProfiler

implements ProfileCollector

bgl
net.minecraft.util.profiling.ActiveProfiler
net.minecraft.class_3533
net.minecraft.util.profiler.ProfilerSystem
net.minecraft.src.C_431_
net.minecraft.util.profiling.MethodProfiler

Field summary

Modifier and TypeField
private static final long
a
WARNING_TIME_NANOS
field_16267
TIMEOUT_NANOSECONDS
f_18368_
private static final org.slf4j.Logger
c
LOGGER
field_15735
LOGGER
f_18369_
private final List<String>
d
paths
field_15736
path
f_18370_
private final it.unimi.dsi.fastutil.longs.LongList
e
startTimes
field_15730
timeList
f_18371_
private final Map<String, ActiveProfiler$PathEntry>
f
entries
field_21818
locationInfos
f_18372_
private final IntSupplier
g
getTickTime
field_16266
endTickGetter
f_18373_
private final LongSupplier
h
getRealTime
field_21961
timeGetter
f_18374_
private final long
i
startTimeNano
field_15732
startTime
f_18375_
private final int
j
startTimeTicks
field_15729
startTick
f_18376_
private String
k
path
field_15734
fullPath
f_18377_
private boolean
l
started
field_15733
tickStarted
f_18378_
private ActiveProfiler$PathEntry
m
currentEntry
field_21819
currentInfo
f_18379_
private final boolean
n
warn
field_20345
checkTimeout
f_18380_
private final Set<org.apache.commons.lang3.tuple.Pair<String, MetricCategory>>
o
chartedPaths
field_33873
sampleTypes
f_145926_

Constructor summary

ModifierConstructor
public (LongSupplier timeGetter, IntSupplier tickGetter, boolean checkTimeout)

Method summary

Modifier and TypeMethod
public void
a()
startTick()
method_16065()
startTick()
m_7242_()
public void
b()
endTick()
method_16066()
endTick()
m_7241_()
public void
a(String arg0)
push(String arg0)
method_15396(String arg0)
push(String arg0)
m_6180_(String arg0)
public void
a(Supplier<String> arg0)
push(Supplier<String> arg0)
method_15400(Supplier<String> arg0)
push(Supplier<String> arg0)
m_6521_(Supplier<String> arg0)
public void
a(bhv arg0)
markForCharting(MetricCategory arg0)
method_37167(class_5949 arg0)
markSampleType(SampleType arg0)
m_142259_(C_141011_ arg0)
public void
c()
pop()
method_15407()
pop()
m_7238_()
public void
b(String arg0)
popPush(String arg0)
method_15405(String arg0)
swap(String arg0)
m_6182_(String arg0)
public void
b(Supplier<String> arg0)
popPush(Supplier<String> arg0)
method_15403(Supplier<String> arg0)
swap(Supplier<String> arg0)
m_6523_(Supplier<String> arg0)
private ActiveProfiler$PathEntry
f()
getCurrentEntry()
method_24246()
getCurrentInfo()
m_18406_()
public void
a(String arg0, int arg1)
incrementCounter(String arg0, int arg1)
method_24270(String arg0, int arg1)
visit(String arg0, int arg1)
m_183275_(String p_185248_, int arg1)
public void
a(Supplier<String> arg0, int arg1)
incrementCounter(Supplier<String> arg0, int arg1)
method_24271(Supplier<String> arg0, int arg1)
visit(Supplier<String> arg0, int arg1)
m_183536_(Supplier<String> p_185251_, int arg1)
public ProfileResults
d()
getResults()
method_16064()
getResult()
m_5948_()
public ActiveProfiler$PathEntry
c(String arg0)
getEntry(String arg0)
method_34696(String arg0)
getInfo(String arg0)
m_142431_(String arg0)
public Set<org.apache.commons.lang3.tuple.Pair<String, MetricCategory>>
e()
getChartedPaths()
method_37168()
getSampleTargets()
m_142579_()