Class RecordDumper

java.lang.Object
net.minecraft.util.profiler.RecordDumper

public class RecordDumper extends Object
Mappings:
Namespace Name
named net/minecraft/util/profiler/RecordDumper
intermediary net/minecraft/class_5971
official bpb
  • Field Details

    • DEBUG_PROFILING_DIRECTORY

      public static final Path DEBUG_PROFILING_DIRECTORY
      Mappings:
      Namespace Name Mixin selector
      named DEBUG_PROFILING_DIRECTORY Lnet/minecraft/util/profiler/RecordDumper;DEBUG_PROFILING_DIRECTORY:Ljava/nio/file/Path;
      intermediary field_29616 Lnet/minecraft/class_5971;field_29616:Ljava/nio/file/Path;
      official a Lbpb;a:Ljava/nio/file/Path;
    • METRICS_DIRECTORY

      public static final String METRICS_DIRECTORY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named METRICS_DIRECTORY Lnet/minecraft/util/profiler/RecordDumper;METRICS_DIRECTORY:Ljava/lang/String;
      intermediary field_32677 Lnet/minecraft/class_5971;field_32677:Ljava/lang/String;
      official b Lbpb;b:Ljava/lang/String;
    • DEVIATIONS_DIRECTORY

      public static final String DEVIATIONS_DIRECTORY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEVIATIONS_DIRECTORY Lnet/minecraft/util/profiler/RecordDumper;DEVIATIONS_DIRECTORY:Ljava/lang/String;
      intermediary field_32678 Lnet/minecraft/class_5971;field_32678:Ljava/lang/String;
      official c Lbpb;c:Ljava/lang/String;
    • FILE_NAME

      public static final String FILE_NAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named FILE_NAME Lnet/minecraft/util/profiler/RecordDumper;FILE_NAME:Ljava/lang/String;
      intermediary field_32679 Lnet/minecraft/class_5971;field_32679:Ljava/lang/String;
      official d Lbpb;d:Ljava/lang/String;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/util/profiler/RecordDumper;LOGGER:Lorg/slf4j/Logger;
      intermediary field_29618 Lnet/minecraft/class_5971;field_29618:Lorg/slf4j/Logger;
      official e Lbpb;e:Lorg/slf4j/Logger;
    • type

      private final String type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/util/profiler/RecordDumper;type:Ljava/lang/String;
      intermediary field_33903 Lnet/minecraft/class_5971;field_33903:Ljava/lang/String;
      official f Lbpb;f:Ljava/lang/String;
  • Constructor Details

    • RecordDumper

      public RecordDumper(String type)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiler/RecordDumper;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5971;<init>(Ljava/lang/String;)V
      official <init> Lbpb;<init>(Ljava/lang/String;)V
  • Method Details

    • createDump

      public Path createDump(Set<Sampler> samplers, Map<Sampler,List<Deviation>> deviations, ProfileResult result)
      Mappings:
      Namespace Name Mixin selector
      named createDump Lnet/minecraft/util/profiler/RecordDumper;createDump(Ljava/util/Set;Ljava/util/Map;Lnet/minecraft/util/profiler/ProfileResult;)Ljava/nio/file/Path;
      intermediary method_34807 Lnet/minecraft/class_5971;method_34807(Ljava/util/Set;Ljava/util/Map;Lnet/minecraft/class_3696;)Ljava/nio/file/Path;
      official a Lbpb;a(Ljava/util/Set;Ljava/util/Map;Lbni;)Ljava/nio/file/Path;
    • writeSamplers

      private void writeSamplers(Set<Sampler> samplers, Path directory)
      Mappings:
      Namespace Name Mixin selector
      named writeSamplers Lnet/minecraft/util/profiler/RecordDumper;writeSamplers(Ljava/util/Set;Ljava/nio/file/Path;)V
      intermediary method_34803 Lnet/minecraft/class_5971;method_34803(Ljava/util/Set;Ljava/nio/file/Path;)V
      official a Lbpb;a(Ljava/util/Set;Ljava/nio/file/Path;)V
    • writeSamplersInType

      private void writeSamplersInType(SampleType type, List<Sampler> samplers, Path directory)
      Mappings:
      Namespace Name Mixin selector
      named writeSamplersInType Lnet/minecraft/util/profiler/RecordDumper;writeSamplersInType(Lnet/minecraft/util/profiler/SampleType;Ljava/util/List;Ljava/nio/file/Path;)V
      intermediary method_37208 Lnet/minecraft/class_5971;method_37208(Lnet/minecraft/class_5949;Ljava/util/List;Ljava/nio/file/Path;)V
      official a Lbpb;a(Lbop;Ljava/util/List;Ljava/nio/file/Path;)V
    • writeDeviations

      private void writeDeviations(Map<Sampler,List<Deviation>> deviations, Path deviationsDirectory)
      Mappings:
      Namespace Name Mixin selector
      named writeDeviations Lnet/minecraft/util/profiler/RecordDumper;writeDeviations(Ljava/util/Map;Ljava/nio/file/Path;)V
      intermediary method_37212 Lnet/minecraft/class_5971;method_37212(Ljava/util/Map;Ljava/nio/file/Path;)V
      official a Lbpb;a(Ljava/util/Map;Ljava/nio/file/Path;)V
    • save

      private void save(ProfileResult result, Path directory)
      Mappings:
      Namespace Name Mixin selector
      named save Lnet/minecraft/util/profiler/RecordDumper;save(Lnet/minecraft/util/profiler/ProfileResult;Ljava/nio/file/Path;)V
      intermediary method_34802 Lnet/minecraft/class_5971;method_34802(Lnet/minecraft/class_3696;Ljava/nio/file/Path;)V
      official a Lbpb;a(Lbni;Ljava/nio/file/Path;)V