net.minecraft.util.profiling.metrics.profiling

public class ActiveMetricsRecorder

implements MetricsRecorder

bib
net.minecraft.util.profiling.metrics.profiling.ActiveMetricsRecorder
net.minecraft.class_5961
net.minecraft.unmapped.C_flupnwyk
net.minecraft.util.profiler.DebugRecorder
net.minecraft.util.profiler.DebugRecorder
net.minecraft.src.C_141022_
net.minecraft.util.profiling.metrics.profiling.ActiveMetricsRecorder

Field summary

Modifier and TypeField
public static final int
a
PROFILING_MAX_DURATION_SECONDS
field_32676
f_nwqmaxgw
MAX_DURATION_IN_SECONDS
MAX_DURATION_IN_SECONDS
f_146104_
private static Consumer<Path>
b
globalOnReportFinished
field_29579
f_pzxvlthu
globalDumpConsumer
globalDumpConsumer
f_146105_
private final Map<MetricSampler, List<RecordedDeviation>>
c
deviationsBySampler
field_33891
f_prxkxwny
deviations
deviations
f_146106_
private final ContinuousProfiler
d
taskProfiler
field_29581
f_hcwgbxkp
timeTracker
timeTracker
f_146107_
private final Executor
e
ioExecutor
field_29582
f_sycjqgyn
dumpExecutor
dumpExecutor
f_146108_
private final MetricsPersister
f
metricsPersister
field_29583
f_xydjlquk
dumper
dumper
f_146109_
private final Consumer<ProfileResults>
g
onProfilingEnd
field_29584
f_ihfxjhcd
resultConsumer
resultConsumer
f_146110_
private final Consumer<Path>
h
onReportFinished
field_29585
f_ykfwybkv
dumpConsumer
dumpConsumer
f_146111_
private final MetricsSamplerProvider
i
metricsSamplerProvider
field_33892
f_ltywojlv
samplerSource
samplerSource
f_146112_
private final LongSupplier
j
wallTimeSource
field_29586
f_khvddcly
timeGetter
timeGetter
f_146113_
private final long
k
deadlineNano
field_29588
f_qlzgywtd
endTime
endTime
f_146114_
private int
l
currentTick
field_29589
f_fcahfgct
ticks
ticks
f_146115_
private ProfileCollector
m
singleTickProfiler
field_29590
f_jinclrhl
profiler
profiler
f_146116_
private volatile boolean
n
killSwitch
field_29591
f_fnllcktc
stopping
stopping
f_146117_
private Set<MetricSampler>
o
thisTickSamplers
field_33893
f_ehauhfkt
samplers
samplers
f_146118_

Constructor summary

ModifierConstructor
private (MetricsSamplerProvider samplerSource, LongSupplier timeGetter, Executor dumpExecutor, MetricsPersister dumper, Consumer<ProfileResults> resultConsumer, Consumer<Path> dumpConsumer)

Method summary

Modifier and TypeMethod
public static ActiveMetricsRecorder
a(bhy arg0, LongSupplier arg1, Executor arg2, bih arg3, Consumer<bgr> arg4, Consumer<Path> arg5)
createStarted(MetricsSamplerProvider arg0, LongSupplier arg1, Executor arg2, MetricsPersister arg3, Consumer<ProfileResults> arg4, Consumer<Path> arg5)
method_37191(class_6400 arg0, LongSupplier arg1, Executor arg2, class_5971 arg3, Consumer<class_3696> arg4, Consumer<Path> arg5)
m_zprrtzss(C_ttvdruyn arg0, LongSupplier arg1, Executor arg2, C_mxkrezql arg3, Consumer<C_dzczqjri> arg4, Consumer<Path> arg5)
of(SamplerSource source, LongSupplier timeGetter, Executor dumpExecutor, RecordDumper dumper, Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer)
of(SamplerSource source, LongSupplier timeGetter, Executor dumpExecutor, RecordDumper dumper, Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer)
m_146132_(C_141019_ p_146133_, LongSupplier p_146134_, Executor p_146135_, C_141030_ p_146136_, Consumer<C_441_> p_146137_, Consumer<Path> p_146138_)
public synchronized void
a()
end()
method_34770()
m_omqwrdxq()
stop()
stop()
m_142760_()
public synchronized void
b()
cancel()
method_41320()
m_zowvowbp()
forceStop()
forceStop()
m_213832_()
public void
c()
startTick()
method_34771()
m_sfffwkeq()
startTick()
startTick()
m_142759_()
public void
d()
endTick()
method_34772()
m_nmdwiiiv()
endTick()
endTick()
m_142758_()
public boolean
e()
isRecording()
method_34773()
m_ohtvfnza()
isActive()
isActive()
m_142763_()
public ProfilerFiller
f()
getProfiler()
method_34774()
m_qxjzxstg()
getProfiler()
getProfiler()
m_142610_()
private void
g()
verifyStarted()
method_34762()
m_duiocljn()
checkState()
checkState()
m_146148_()
private void
a(bgr arg0)
scheduleSaveResults(ProfileResults arg0)
method_34763(class_3696 arg0)
m_uhofnhax(C_dzczqjri arg0)
dump(ProfileResult result)
dump(ProfileResult result)
m_146128_(C_441_ arg0)
private void
a(Collection<bhw> arg0)
cleanup(Collection<MetricSampler> arg0)
method_41319(Collection<class_5965> arg0)
m_ocaxtueo(Collection<C_owhhojqn> arg0)
forceStop(Collection<Sampler> samplers)
stop(Collection<Sampler> samplers)
m_216816_(Collection<C_141012_> arg0)
public static void
a(Consumer<Path> arg0)
registerGlobalCompletionCallback(Consumer<Path> arg0)
method_35762(Consumer<Path> arg0)
m_ufztkvgl(Consumer<Path> arg0)
setGlobalDumpConsumer(Consumer<Path> consumer)
setGlobalDumpConsumer(Consumer<Path> consumer)
m_146142_(Consumer<Path> p_146143_)