Uses of Enum Class
net.minecraft.util.profiling.metrics.MetricCategory
Package
Description
-
Uses of MetricCategory in net.minecraft.util.profiling
Modifier and TypeFieldDescriptionprivate Set<org.apache.commons.lang3.tuple.Pair<String,MetricCategory>>
ActiveProfiler.chartedPaths
Modifier and TypeMethodDescriptionSet<org.apache.commons.lang3.tuple.Pair<String,MetricCategory>>
ActiveProfiler.getChartedPaths()
Set<org.apache.commons.lang3.tuple.Pair<String,MetricCategory>>
InactiveProfiler.getChartedPaths()
Set<org.apache.commons.lang3.tuple.Pair<String,MetricCategory>>
ProfileCollector.getChartedPaths()
Modifier and TypeMethodDescriptionvoid
ActiveProfiler.markForCharting(MetricCategory p_145928_)
void
InactiveProfiler.markForCharting(MetricCategory p_145951_)
void
ProfilerFiller.markForCharting(MetricCategory p_145959_)
-
Uses of MetricCategory in net.minecraft.util.profiling.metrics
Modifier and TypeFieldDescriptionprivate MetricCategory
MetricSampler.category
private MetricCategory
MetricSampler.MetricSamplerBuilder.category
Modifier and TypeMethodDescriptionMetricSampler.getCategory()
static MetricCategory
Returns the enum constant of this class with the specified name.static MetricCategory[]
MetricCategory.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic <T> MetricSampler.MetricSamplerBuilder<T>
MetricSampler.builder(String p_146014_, MetricCategory p_146015_, ToDoubleFunction<T> p_146016_, T p_146017_)
static MetricSampler
MetricSampler.create(String p_146010_, MetricCategory p_146011_, DoubleSupplier p_146012_)
static <T> MetricSampler
MetricSampler.create(String p_146005_, MetricCategory p_146006_, T p_146007_, ToDoubleFunction<T> p_146008_)
ModifierConstructorDescriptionprotected
MetricSampler(String p_145996_, MetricCategory p_145997_, DoubleSupplier p_145998_, Runnable p_145999_, MetricSampler.ThresholdTest p_146000_)
MetricSamplerBuilder(String p_146035_, MetricCategory p_146036_, ToDoubleFunction<T> p_146037_, T p_146038_)
-
Uses of MetricCategory in net.minecraft.util.profiling.metrics.profiling
Modifier and TypeMethodDescriptionprivate static MetricSampler
ProfilerSamplerAdapter.samplerForProfilingPath(Supplier<ProfileCollector> p_146169_, String p_146170_, MetricCategory p_146171_)
-
Uses of MetricCategory in net.minecraft.util.profiling.metrics.storage
Modifier and TypeMethodDescriptionprivate void
MetricsPersister.saveCategory(MetricCategory p_146227_, List<MetricSampler> p_146228_, Path p_146229_)