Class RecordDumper

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

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

    • DEBUG_PROFILING_DIRECTORY

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

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

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

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

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

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

    • RecordDumper

      public RecordDumper(String type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Layp;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5971;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/util/profiler/RecordDumper;<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
      official a Layp;a(Ljava/util/Set;Ljava/util/Map;Lawy;)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;
      named createDump Lnet/minecraft/util/profiler/RecordDumper;createDump(Ljava/util/Set;Ljava/util/Map;Lnet/minecraft/util/profiler/ProfileResult;)Ljava/nio/file/Path;
    • writeSamplers

      private void writeSamplers(Set<Sampler> samplers, Path directory)
      Mappings:
      Namespace Name Mixin selector
      official a Layp;a(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
      named writeSamplers Lnet/minecraft/util/profiler/RecordDumper;writeSamplers(Ljava/util/Set;Ljava/nio/file/Path;)V
    • writeSamplersInType

      private void writeSamplersInType(SampleType type, List<Sampler> samplers, Path directory)
      Mappings:
      Namespace Name Mixin selector
      official a Layp;a(Layd;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
      named writeSamplersInType Lnet/minecraft/util/profiler/RecordDumper;writeSamplersInType(Lnet/minecraft/util/profiler/SampleType;Ljava/util/List;Ljava/nio/file/Path;)V
    • writeDeviations

      private void writeDeviations(Map<Sampler,List<Deviation>> deviations, Path deviationsDirectory)
      Mappings:
      Namespace Name Mixin selector
      official a Layp;a(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
      named writeDeviations Lnet/minecraft/util/profiler/RecordDumper;writeDeviations(Ljava/util/Map;Ljava/nio/file/Path;)V
    • save

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