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 SampleTypeSampler.Builder.typeprivate final SampleTypeSampler.typeFields in net.minecraft.util.profiler with type parameters of type SampleTypeModifier and TypeFieldDescriptionprivate final Set<Pair<String,SampleType>> ProfilerSystem.sampleTypesMethods in net.minecraft.util.profiler that return SampleTypeModifier and TypeMethodDescriptionSampler.getType()static SampleTypeReturns 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 SamplerSampler.create(String name, SampleType type, DoubleSupplier retriever) static <T> SamplerSampler.create(String name, SampleType type, T context, ToDoubleFunction<T> retriever) private static SamplerSamplerFactory.createSampler(Supplier<ReadableProfiler> profilerSupplier, String id, SampleType type) voidDummyProfiler.markSampleType(SampleType type) voidProfiler.markSampleType(SampleType type) voidProfilerSystem.markSampleType(SampleType type) private voidRecordDumper.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) protectedSampler(String name, SampleType type, DoubleSupplier retriever, @Nullable Runnable startAction, @Nullable Sampler.DeviationChecker deviationChecker)