Class ServerSamplerSource

java.lang.Object
net.minecraft.util.profiler.ServerSamplerSource
All Implemented Interfaces:
SamplerSource

public class ServerSamplerSource extends Object implements SamplerSource
Mappings:
Namespace Name
official axq
intermediary net/minecraft/class_6402
named net/minecraft/util/profiler/ServerSamplerSource
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Laxq;a:Lorg/slf4j/Logger;
      intermediary field_33988 Lnet/minecraft/class_6402;field_33988:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/util/profiler/ServerSamplerSource;LOGGER:Lorg/slf4j/Logger;
    • samplers

      private final Set<Sampler> samplers
      Mappings:
      Namespace Name Mixin selector
      official b Laxq;b:Ljava/util/Set;
      intermediary field_33895 Lnet/minecraft/class_6402;field_33895:Ljava/util/Set;
      named samplers Lnet/minecraft/util/profiler/ServerSamplerSource;samplers:Ljava/util/Set;
    • factory

      private final SamplerFactory factory
      Mappings:
      Namespace Name Mixin selector
      official c Laxq;c:Laxp;
      intermediary field_33896 Lnet/minecraft/class_6402;field_33896:Lnet/minecraft/class_6401;
      named factory Lnet/minecraft/util/profiler/ServerSamplerSource;factory:Lnet/minecraft/util/profiler/SamplerFactory;
  • Constructor Details

    • ServerSamplerSource

      public ServerSamplerSource(LongSupplier nanoTimeSupplier, boolean includeSystem)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laxq;<init>(Ljava/util/function/LongSupplier;Z)V
      intermediary <init> Lnet/minecraft/class_6402;<init>(Ljava/util/function/LongSupplier;Z)V
      named <init> Lnet/minecraft/util/profiler/ServerSamplerSource;<init>(Ljava/util/function/LongSupplier;Z)V
  • Method Details

    • createSystemSamplers

      public static Set<Sampler> createSystemSamplers()
      Mappings:
      Namespace Name Mixin selector
      official a Laxq;a()Ljava/util/Set;
      intermediary method_37199 Lnet/minecraft/class_6402;method_37199()Ljava/util/Set;
      named createSystemSamplers Lnet/minecraft/util/profiler/ServerSamplerSource;createSystemSamplers()Ljava/util/Set;
    • getSamplers

      public Set<Sampler> getSamplers(Supplier<ReadableProfiler> profilerSupplier)
      Specified by:
      getSamplers in interface SamplerSource
      Mappings:
      Namespace Name Mixin selector
      official a Laxj;a(Ljava/util/function/Supplier;)Ljava/util/Set;
      intermediary method_37189 Lnet/minecraft/class_6400;method_37189(Ljava/util/function/Supplier;)Ljava/util/Set;
      named getSamplers Lnet/minecraft/util/profiler/SamplerSource;getSamplers(Ljava/util/function/Supplier;)Ljava/util/Set;
    • createTickTimeTracker

      public static Sampler createTickTimeTracker(LongSupplier nanoTimeSupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Laxq;a(Ljava/util/function/LongSupplier;)Laxh;
      intermediary method_37202 Lnet/minecraft/class_6402;method_37202(Ljava/util/function/LongSupplier;)Lnet/minecraft/class_5965;
      named createTickTimeTracker Lnet/minecraft/util/profiler/ServerSamplerSource;createTickTimeTracker(Ljava/util/function/LongSupplier;)Lnet/minecraft/util/profiler/Sampler;