net.minecraft.util.profiler

public class ProfilerSystem

implements ReadableProfiler

net.minecraft.util.profiling.ActiveProfiler
net.minecraft.class_3533
net.minecraft.util.profiler.ProfilerSystem

Field summary

Modifier and TypeField
private static final long
WARNING_TIME_NANOS
field_16267
TIMEOUT_NANOSECONDS
private static final org.slf4j.Logger
LOGGER
field_15735
LOGGER
private final List<String>
paths
field_15736
path
private final it.unimi.dsi.fastutil.longs.LongList
startTimes
field_15730
timeList
private final Map<String, ProfilerSystem$LocatedInfo>
entries
field_21818
locationInfos
private final IntSupplier
getTickTime
field_16266
endTickGetter
private final LongSupplier
getRealTime
field_21961
timeGetter
private final long
startTimeNano
field_15732
startTime
private final int
startTimeTicks
field_15729
startTick
private String
path
field_15734
fullPath
private boolean
started
field_15733
tickStarted
private ProfilerSystem$LocatedInfo
currentEntry
field_21819
currentInfo
private final BooleanSupplier
suppressWarnings
field_55643
timeoutDisabled
private final Set<com.mojang.datafixers.util.Pair<String, SampleType>>
chartedPaths
field_33873
sampleTypes

Constructor summary

ModifierConstructor
public (LongSupplier timeGetter, IntSupplier tickGetter, BooleanSupplier timeoutDisabled)

Method summary

Modifier and TypeMethod
public void
startTick()
method_16065()
startTick()
public void
endTick()
method_16066()
endTick()
public void
push(String name)
method_15396(String arg0)
push(String arg0)
public void
push(Supplier<String> name)
method_15400(Supplier<String> arg0)
push(Supplier<String> arg0)
public void
markForCharting(MetricCategory category)
method_37167(class_5949 arg0)
markSampleType(SampleType arg0)
public void
pop()
method_15407()
pop()
public void
popPush(String name)
method_15405(String arg0)
swap(String arg0)
public void
popPush(Supplier<String> name)
method_15403(Supplier<String> arg0)
swap(Supplier<String> arg0)
private ProfilerSystem$LocatedInfo
getCurrentEntry()
method_24246()
getCurrentInfo()
public void
incrementCounter(String name, int amount)
method_24270(String arg0, int arg1)
visit(String arg0, int arg1)
public void
incrementCounter(Supplier<String> name, int amount)
method_24271(Supplier<String> arg0, int arg1)
visit(Supplier<String> arg0, int arg1)
public ProfileResult
getResults()
method_16064()
getResult()
public ProfilerSystem$LocatedInfo
getEntry(String path)
method_34696(String arg0)
getInfo(String arg0)
public Set<com.mojang.datafixers.util.Pair<String, SampleType>>
getChartedPaths()
method_37168()
getSampleTargets()
private static ProfilerSystem$LocatedInfo
lambda$getCurrentEntry$0(String arg0)
method_24245(String arg0)
method_24245(String k)
private static Object
lambda$pop$1(long arg0)
method_21718(long arg0)
method_21718(long arg0)
private Object
lambda$pop$0()
method_21719()
method_21719()
private Object
lambda$endTick$0()
method_21720()
method_21720()