Class DebugRecorder

java.lang.Object
net.minecraft.util.profiler.DebugRecorder
All Implemented Interfaces:
Recorder

public class DebugRecorder extends Object implements Recorder
Mappings:
Namespace Name
named net/minecraft/util/profiler/DebugRecorder
intermediary net/minecraft/class_5961
official bqj
  • Field Details Link icon

    • MAX_DURATION_IN_SECONDS Link icon

      public static final int MAX_DURATION_IN_SECONDS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_DURATION_IN_SECONDS Lnet/minecraft/util/profiler/DebugRecorder;MAX_DURATION_IN_SECONDS:I
      intermediary field_32676 Lnet/minecraft/class_5961;field_32676:I
      official a Lbqj;a:I
    • globalDumpConsumer Link icon

      @Nullable private static @Nullable Consumer<Path> globalDumpConsumer
      Mappings:
      Namespace Name Mixin selector
      named globalDumpConsumer Lnet/minecraft/util/profiler/DebugRecorder;globalDumpConsumer:Ljava/util/function/Consumer;
      intermediary field_29579 Lnet/minecraft/class_5961;field_29579:Ljava/util/function/Consumer;
      official b Lbqj;b:Ljava/util/function/Consumer;
    • deviations Link icon

      private final Map<Sampler,List<Deviation>> deviations
      Mappings:
      Namespace Name Mixin selector
      named deviations Lnet/minecraft/util/profiler/DebugRecorder;deviations:Ljava/util/Map;
      intermediary field_33891 Lnet/minecraft/class_5961;field_33891:Ljava/util/Map;
      official c Lbqj;c:Ljava/util/Map;
    • timeTracker Link icon

      private final TickTimeTracker timeTracker
      Mappings:
      Namespace Name Mixin selector
      named timeTracker Lnet/minecraft/util/profiler/DebugRecorder;timeTracker:Lnet/minecraft/util/profiler/TickTimeTracker;
      intermediary field_29581 Lnet/minecraft/class_5961;field_29581:Lnet/minecraft/class_4757;
      official d Lbqj;d:Lbon;
    • dumpExecutor Link icon

      private final Executor dumpExecutor
      Mappings:
      Namespace Name Mixin selector
      named dumpExecutor Lnet/minecraft/util/profiler/DebugRecorder;dumpExecutor:Ljava/util/concurrent/Executor;
      intermediary field_29582 Lnet/minecraft/class_5961;field_29582:Ljava/util/concurrent/Executor;
      official e Lbqj;e:Ljava/util/concurrent/Executor;
    • dumper Link icon

      private final RecordDumper dumper
      Mappings:
      Namespace Name Mixin selector
      named dumper Lnet/minecraft/util/profiler/DebugRecorder;dumper:Lnet/minecraft/util/profiler/RecordDumper;
      intermediary field_29583 Lnet/minecraft/class_5961;field_29583:Lnet/minecraft/class_5971;
      official f Lbqj;f:Lbqp;
    • resultConsumer Link icon

      private final Consumer<ProfileResult> resultConsumer
      Mappings:
      Namespace Name Mixin selector
      named resultConsumer Lnet/minecraft/util/profiler/DebugRecorder;resultConsumer:Ljava/util/function/Consumer;
      intermediary field_29584 Lnet/minecraft/class_5961;field_29584:Ljava/util/function/Consumer;
      official g Lbqj;g:Ljava/util/function/Consumer;
    • dumpConsumer Link icon

      private final Consumer<Path> dumpConsumer
      Mappings:
      Namespace Name Mixin selector
      named dumpConsumer Lnet/minecraft/util/profiler/DebugRecorder;dumpConsumer:Ljava/util/function/Consumer;
      intermediary field_29585 Lnet/minecraft/class_5961;field_29585:Ljava/util/function/Consumer;
      official h Lbqj;h:Ljava/util/function/Consumer;
    • samplerSource Link icon

      private final SamplerSource samplerSource
      Mappings:
      Namespace Name Mixin selector
      named samplerSource Lnet/minecraft/util/profiler/DebugRecorder;samplerSource:Lnet/minecraft/util/profiler/SamplerSource;
      intermediary field_33892 Lnet/minecraft/class_5961;field_33892:Lnet/minecraft/class_6400;
      official i Lbqj;i:Lbqg;
    • timeGetter Link icon

      private final LongSupplier timeGetter
      Mappings:
      Namespace Name Mixin selector
      named timeGetter Lnet/minecraft/util/profiler/DebugRecorder;timeGetter:Ljava/util/function/LongSupplier;
      intermediary field_29586 Lnet/minecraft/class_5961;field_29586:Ljava/util/function/LongSupplier;
      official j Lbqj;j:Ljava/util/function/LongSupplier;
    • endTime Link icon

      private final long endTime
      Mappings:
      Namespace Name Mixin selector
      named endTime Lnet/minecraft/util/profiler/DebugRecorder;endTime:J
      intermediary field_29588 Lnet/minecraft/class_5961;field_29588:J
      official k Lbqj;k:J
    • ticks Link icon

      private int ticks
      Mappings:
      Namespace Name Mixin selector
      named ticks Lnet/minecraft/util/profiler/DebugRecorder;ticks:I
      intermediary field_29589 Lnet/minecraft/class_5961;field_29589:I
      official l Lbqj;l:I
    • profiler Link icon

      private ReadableProfiler profiler
      Mappings:
      Namespace Name Mixin selector
      named profiler Lnet/minecraft/util/profiler/DebugRecorder;profiler:Lnet/minecraft/util/profiler/ReadableProfiler;
      intermediary field_29590 Lnet/minecraft/class_5961;field_29590:Lnet/minecraft/class_3693;
      official m Lbqj;m:Lbor;
    • stopping Link icon

      private volatile boolean stopping
      Mappings:
      Namespace Name Mixin selector
      named stopping Lnet/minecraft/util/profiler/DebugRecorder;stopping:Z
      intermediary field_29591 Lnet/minecraft/class_5961;field_29591:Z
      official n Lbqj;n:Z
    • samplers Link icon

      private Set<Sampler> samplers
      Mappings:
      Namespace Name Mixin selector
      named samplers Lnet/minecraft/util/profiler/DebugRecorder;samplers:Ljava/util/Set;
      intermediary field_33893 Lnet/minecraft/class_5961;field_33893:Ljava/util/Set;
      official o Lbqj;o:Ljava/util/Set;
  • Constructor Details Link icon

    • DebugRecorder Link icon

      private DebugRecorder(SamplerSource samplerSource, LongSupplier timeGetter, Executor dumpExecutor, RecordDumper dumper, Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiler/DebugRecorder;<init>(Lnet/minecraft/util/profiler/SamplerSource;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/util/profiler/RecordDumper;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_5961;<init>(Lnet/minecraft/class_6400;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/class_5971;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
      official <init> Lbqj;<init>(Lbqg;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lbqp;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
  • Method Details Link icon

    • of Link icon

      public static DebugRecorder of(SamplerSource source, LongSupplier timeGetter, Executor dumpExecutor, RecordDumper dumper, Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/util/profiler/DebugRecorder;of(Lnet/minecraft/util/profiler/SamplerSource;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/util/profiler/RecordDumper;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Lnet/minecraft/util/profiler/DebugRecorder;
      intermediary method_37191 Lnet/minecraft/class_5961;method_37191(Lnet/minecraft/class_6400;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/class_5971;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Lnet/minecraft/class_5961;
      official a Lbqj;a(Lbqg;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lbqp;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Lbqj;
    • stop Link icon

      public void stop()
      Specified by:
      stop in interface Recorder
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/util/profiler/Recorder;stop()V
      intermediary method_34770 Lnet/minecraft/class_5962;method_34770()V
      official a Lbql;a()V
    • forceStop Link icon

      public void forceStop()
      Specified by:
      forceStop in interface Recorder
      Mappings:
      Namespace Name Mixin selector
      named forceStop Lnet/minecraft/util/profiler/Recorder;forceStop()V
      intermediary method_41320 Lnet/minecraft/class_5962;method_41320()V
      official b Lbql;b()V
    • startTick Link icon

      public void startTick()
      Specified by:
      startTick in interface Recorder
      Mappings:
      Namespace Name Mixin selector
      named startTick Lnet/minecraft/util/profiler/Recorder;startTick()V
      intermediary method_34771 Lnet/minecraft/class_5962;method_34771()V
      official c Lbql;c()V
    • endTick Link icon

      public void endTick()
      Specified by:
      endTick in interface Recorder
      Mappings:
      Namespace Name Mixin selector
      named endTick Lnet/minecraft/util/profiler/Recorder;endTick()V
      intermediary method_34772 Lnet/minecraft/class_5962;method_34772()V
      official d Lbql;d()V
    • isActive Link icon

      public boolean isActive()
      Specified by:
      isActive in interface Recorder
      Mappings:
      Namespace Name Mixin selector
      named isActive Lnet/minecraft/util/profiler/Recorder;isActive()Z
      intermediary method_34773 Lnet/minecraft/class_5962;method_34773()Z
      official e Lbql;e()Z
    • getProfiler Link icon

      public Profiler getProfiler()
      Specified by:
      getProfiler in interface Recorder
      Mappings:
      Namespace Name Mixin selector
      named getProfiler Lnet/minecraft/util/profiler/Recorder;getProfiler()Lnet/minecraft/util/profiler/Profiler;
      intermediary method_34774 Lnet/minecraft/class_5962;method_34774()Lnet/minecraft/class_3695;
      official f Lbql;f()Lbou;
    • checkState Link icon

      private void checkState()
      Mappings:
      Namespace Name Mixin selector
      named checkState Lnet/minecraft/util/profiler/DebugRecorder;checkState()V
      intermediary method_34762 Lnet/minecraft/class_5961;method_34762()V
      official g Lbqj;g()V
    • dump Link icon

      private void dump(ProfileResult result)
      Mappings:
      Namespace Name Mixin selector
      named dump Lnet/minecraft/util/profiler/DebugRecorder;dump(Lnet/minecraft/util/profiler/ProfileResult;)V
      intermediary method_34763 Lnet/minecraft/class_5961;method_34763(Lnet/minecraft/class_3696;)V
      official a Lbqj;a(Lbos;)V
    • forceStop Link icon

      private void forceStop(Collection<Sampler> samplers)
      Mappings:
      Namespace Name Mixin selector
      named forceStop Lnet/minecraft/util/profiler/DebugRecorder;forceStop(Ljava/util/Collection;)V
      intermediary method_41319 Lnet/minecraft/class_5961;method_41319(Ljava/util/Collection;)V
      official a Lbqj;a(Ljava/util/Collection;)V
    • setGlobalDumpConsumer Link icon

      public static void setGlobalDumpConsumer(Consumer<Path> consumer)
      Mappings:
      Namespace Name Mixin selector
      named setGlobalDumpConsumer Lnet/minecraft/util/profiler/DebugRecorder;setGlobalDumpConsumer(Ljava/util/function/Consumer;)V
      intermediary method_35762 Lnet/minecraft/class_5961;method_35762(Ljava/util/function/Consumer;)V
      official a Lbqj;a(Ljava/util/function/Consumer;)V