Class ServerMetricsSamplersProvider
java.lang.Object
net.minecraft.util.profiling.metrics.profiling.ServerMetricsSamplersProvider
- All Implemented Interfaces:
MetricsSamplerProvider
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final ProfilerSamplerAdapter
private final Set<MetricSampler>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<MetricSampler>
samplers
(Supplier<ProfileCollector> p_146191_) static MetricSampler
tickTimeSampler
(LongSupplier p_146189_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
samplers
-
samplerFactory
-
-
Constructor Details
-
ServerMetricsSamplersProvider
-
-
Method Details
-
runtimeIndependentSamplers
-
samplers
- Specified by:
samplers
in interfaceMetricsSamplerProvider
-
tickTimeSampler
-