net.minecraft.util.profiling.metrics

public class MetricSampler

axh
net.minecraft.util.profiling.metrics.MetricSampler
net.minecraft.class_5965
net.minecraft.unmapped.C_owhhojqn
net.minecraft.util.profiler.Sampler
net.minecraft.util.profiler.Sampler
net.minecraft.src.C_141012_
net.minecraft.util.profiling.metrics.MetricSampler

Field summary

Modifier and TypeField
private final String
b
name
field_33882
f_onpjmjcp
name
name
f_145987_
private final MetricCategory
c
category
field_29598
f_gegxrcme
type
type
f_145988_
private final DoubleSupplier
d
sampler
field_29599
f_wbsilfmg
retriever
retriever
f_145989_
private final io.netty.buffer.ByteBuf
e
ticks
field_33883
f_rqdwlrij
ticksBuffer
ticksBuffer
f_145990_
private final io.netty.buffer.ByteBuf
f
values
field_29600
f_wcmhwkmx
valueBuffer
valueBuffer
f_145991_
private volatile boolean
g
isRunning
field_29601
f_pondnqmz
active
active
f_145992_
private final Runnable
h
beforeTick
field_29602
f_advtdgqc
startAction
startAction
f_145993_
final MetricSampler$ThresholdTest
a
thresholdTest
field_29603
f_fgbmhebx
deviationChecker
deviationChecker
f_145986_
private double
i
currentValue
field_33884
f_bcrsdxez
currentSample
currentSample
f_145994_

Constructor summary

ModifierConstructor
protected (String name, MetricCategory type, DoubleSupplier retriever, Runnable startAction, MetricSampler$ThresholdTest deviationChecker)

Method summary

Modifier and TypeMethod
public static MetricSampler
a(String arg0, axg arg1, DoubleSupplier arg2)
create(String arg0, MetricCategory arg1, DoubleSupplier arg2)
method_34776(String arg0, class_5949 arg1, DoubleSupplier arg2)
m_xmphzmck(String arg0, C_oqsgkejx arg1, DoubleSupplier arg2)
create(String name, SampleType type, DoubleSupplier retriever)
create(String name, SampleType type, DoubleSupplier retriever)
m_146009_(String p_146010_, C_141011_ p_146011_, DoubleSupplier p_146012_)
public static <T> MetricSampler
a(String arg0, axg arg1, T arg2, ToDoubleFunction<T> arg3)
create(String arg0, MetricCategory arg1, T arg2, ToDoubleFunction<T> arg3)
method_34778(String arg0, class_5949 arg1, T arg2, ToDoubleFunction<T> arg3)
m_wbiernsy(String arg0, C_oqsgkejx arg1, T arg2, ToDoubleFunction<T> arg3)
create(String name, SampleType type, T context, ToDoubleFunction<T> retriever)
create(String name, SampleType type, T context, ToDoubleFunction<T> retriever)
m_146004_(String p_146005_, C_141011_ p_146006_, T p_146007_, ToDoubleFunction<T> p_146008_)
public static <T> MetricSampler$MetricSamplerBuilder<T>
a(String arg0, axg arg1, ToDoubleFunction<T> arg2, T arg3)
builder(String arg0, MetricCategory arg1, ToDoubleFunction<T> arg2, T arg3)
method_34779(String arg0, class_5949 arg1, ToDoubleFunction<T> arg2, T arg3)
m_zcdmxbxv(String arg0, C_oqsgkejx arg1, ToDoubleFunction<T> arg2, T arg3)
builder(String name, SampleType type, ToDoubleFunction<T> retriever, T context)
builder(String name, SampleType type, ToDoubleFunction<T> retriever, T context)
m_146013_(String p_146014_, C_141011_ p_146015_, ToDoubleFunction<T> p_146016_, T p_146017_)
public void
a()
onStartTick()
method_34780()
m_hazbxnud()
start()
start()
m_146001_()
public void
a(int arg0)
onEndTick(int arg0)
method_34781(int arg0)
m_mfdigymh(int arg0)
sample(int tick)
sample(int tick)
m_146002_(int arg0)
public void
b()
onFinished()
method_34782()
m_uunwlulw()
stop()
stop()
m_146018_()
private void
h()
verifyRunning()
method_34786()
m_tiazkwmr()
ensureActive()
ensureActive()
m_146026_()
DoubleSupplier
c()
getSampler()
method_37170()
m_jpytmigv()
getRetriever()
getRetriever()
m_146019_()
public String
d()
getName()
method_37171()
m_ljxxxges()
getName()
getName()
m_146020_()
public MetricCategory
e()
getCategory()
method_37172()
m_zpdkzyzc()
getType()
getType()
m_146021_()
public MetricSampler$SamplerResult
f()
result()
method_37173()
m_jhdnitbh()
collectData()
collectData()
m_146024_()
public boolean
g()
triggersThreshold()
method_37174()
m_bkzgndes()
hasDeviated()
hasDeviated()
m_146025_()