Class ExecutorSampling

java.lang.Object
net.minecraft.util.thread.ExecutorSampling

public class ExecutorSampling extends Object
Mappings:
Namespace Name
official bbu
intermediary net/minecraft/class_5950
named net/minecraft/util/thread/ExecutorSampling
  • Field Details

    • INSTANCE

      public static final ExecutorSampling INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Lbbu;a:Lbbu;
      intermediary field_29555 Lnet/minecraft/class_5950;field_29555:Lnet/minecraft/class_5950;
      named INSTANCE Lnet/minecraft/util/thread/ExecutorSampling;INSTANCE:Lnet/minecraft/util/thread/ExecutorSampling;
    • activeExecutors

      private final WeakHashMap<SampleableExecutor,Void> activeExecutors
      Mappings:
      Namespace Name Mixin selector
      official b Lbbu;b:Ljava/util/WeakHashMap;
      intermediary field_29556 Lnet/minecraft/class_5950;field_29556:Ljava/util/WeakHashMap;
      named activeExecutors Lnet/minecraft/util/thread/ExecutorSampling;activeExecutors:Ljava/util/WeakHashMap;
  • Constructor Details

    • ExecutorSampling

      private ExecutorSampling()
  • Method Details

    • add

      public void add(SampleableExecutor executor)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbu;a(Lbbw;)V
      intermediary method_34702 Lnet/minecraft/class_5950;method_34702(Lnet/minecraft/class_5952;)V
      named add Lnet/minecraft/util/thread/ExecutorSampling;add(Lnet/minecraft/util/thread/SampleableExecutor;)V
    • createSamplers

      public List<Sampler> createSamplers()
      Mappings:
      Namespace Name Mixin selector
      official a Lbbu;a()Ljava/util/List;
      intermediary method_37178 Lnet/minecraft/class_5950;method_37178()Ljava/util/List;
      named createSamplers Lnet/minecraft/util/thread/ExecutorSampling;createSamplers()Ljava/util/List;
    • mergeSimilarSamplers

      private static List<Sampler> mergeSimilarSamplers(Map<String,List<Sampler>> samplers)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbu;a(Ljava/util/Map;)Ljava/util/List;
      intermediary method_37180 Lnet/minecraft/class_5950;method_37180(Ljava/util/Map;)Ljava/util/List;
      named mergeSimilarSamplers Lnet/minecraft/util/thread/ExecutorSampling;mergeSimilarSamplers(Ljava/util/Map;)Ljava/util/List;