Uses of Enum Class
net.minecraft.util.profiler.SampleType
Packages that use SampleType
-
Uses of SampleType in net.minecraft.util.profiler
Fields in net.minecraft.util.profiler declared as SampleTypeModifier and TypeFieldDescriptionprivate final SampleType
Sampler.Builder.type
private final SampleType
Sampler.type
Fields in net.minecraft.util.profiler with type parameters of type SampleTypeModifier and TypeFieldDescriptionprivate final Set<Pair<String,
SampleType>> ProfilerSystem.sampleTypes
Methods in net.minecraft.util.profiler that return SampleTypeModifier and TypeMethodDescriptionSampler.getType()
static SampleType
Returns the enum constant of this class with the specified name.static SampleType[]
SampleType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util.profiler that return types with arguments of type SampleTypeModifier and TypeMethodDescriptionDummyProfiler.getSampleTargets()
Returns a set of pairs of profiler location and sample kind.ProfilerSystem.getSampleTargets()
Returns a set of pairs of profiler location and sample kind.ReadableProfiler.getSampleTargets()
Returns a set of pairs of profiler location and sample kind.Methods in net.minecraft.util.profiler with parameters of type SampleTypeModifier and TypeMethodDescriptionstatic <T> Sampler.Builder<T>
Sampler.builder
(String name, SampleType type, ToDoubleFunction<T> retriever, T context) static Sampler
Sampler.create
(String name, SampleType type, DoubleSupplier retriever) static <T> Sampler
Sampler.create
(String name, SampleType type, T context, ToDoubleFunction<T> retriever) private static Sampler
SamplerFactory.createSampler
(Supplier<ReadableProfiler> profilerSupplier, String id, SampleType type) void
DummyProfiler.markSampleType
(SampleType type) void
Profiler.markSampleType
(SampleType type) void
ProfilerSystem.markSampleType
(SampleType type) private void
RecordDumper.writeSamplersInType
(SampleType type, List<Sampler> samplers, Path directory) Constructors in net.minecraft.util.profiler with parameters of type SampleTypeModifierConstructorDescriptionBuilder
(String name, SampleType type, ToDoubleFunction<T> timeFunction, T context) protected
Sampler
(String name, SampleType type, DoubleSupplier retriever, @Nullable Runnable startAction, @Nullable Sampler.DeviationChecker deviationChecker)