Class MetricsRegistry.AggregatedMetricSampler
java.lang.Object
net.minecraft.util.profiling.metrics.MetricSampler
net.minecraft.util.profiling.metrics.MetricsRegistry.AggregatedMetricSampler
- Enclosing class:
- MetricsRegistry
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.profiling.metrics.MetricSampler
MetricSampler.MetricSamplerBuilder<T>, MetricSampler.SamplerResult, MetricSampler.ThresholdTest, MetricSampler.ValueIncreasedByPercentage
-
Field Summary
Fields inherited from class net.minecraft.util.profiling.metrics.MetricSampler
thresholdTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static double
averageValueFromDelegates(List<MetricSampler> p_146095_)
private static void
beforeTick(List<MetricSampler> p_146093_)
boolean
int
hashCode()
private static MetricSampler.ThresholdTest
thresholdTest(List<MetricSampler> p_146088_)
Methods inherited from class net.minecraft.util.profiling.metrics.MetricSampler
builder, create, create, getCategory, getName, getSampler, onEndTick, onFinished, onStartTick, result, triggersThreshold
-
Field Details
-
delegates
-
-
Constructor Details
-
AggregatedMetricSampler
AggregatedMetricSampler(String p_146082_, List<MetricSampler> p_146083_)
-
-
Method Details
-
thresholdTest
-
beforeTick
-
averageValueFromDelegates
-
equals
- Overrides:
equals
in classMetricSampler
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMetricSampler
-