Class JfrProfileRecorder

java.lang.Object
net.minecraft.util.profiling.jfr.JfrProfileRecorder

public class JfrProfileRecorder extends Object
Mappings:
Namespace Name
official ard
intermediary net/minecraft/class_6516
named net/minecraft/util/profiling/jfr/JfrProfileRecorder
  • Field Details

    • startTime

      private Instant startTime
      Mappings:
      Namespace Name Mixin selector
      official a Lard;a:Ljava/time/Instant;
      intermediary field_34422 Lnet/minecraft/class_6516;field_34422:Ljava/time/Instant;
      named startTime Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;startTime:Ljava/time/Instant;
    • endTime

      private Instant endTime
      Mappings:
      Namespace Name Mixin selector
      official b Lard;b:Ljava/time/Instant;
      intermediary field_34423 Lnet/minecraft/class_6516;field_34423:Ljava/time/Instant;
      named endTime Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;endTime:Ljava/time/Instant;
    • chunkGenerationSamples

      private final List<ChunkGenerationSample> chunkGenerationSamples
      Mappings:
      Namespace Name Mixin selector
      official c Lard;c:Ljava/util/List;
      intermediary field_34424 Lnet/minecraft/class_6516;field_34424:Ljava/util/List;
      named chunkGenerationSamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;chunkGenerationSamples:Ljava/util/List;
    • cpuLoadSamples

      private final List<CpuLoadSample> cpuLoadSamples
      Mappings:
      Namespace Name Mixin selector
      official d Lard;d:Ljava/util/List;
      intermediary field_34425 Lnet/minecraft/class_6516;field_34425:Ljava/util/List;
      named cpuLoadSamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;cpuLoadSamples:Ljava/util/List;
    • packetReadSamples

      private final List<PacketSample> packetReadSamples
      Mappings:
      Namespace Name Mixin selector
      official e Lard;e:Ljava/util/List;
      intermediary field_34426 Lnet/minecraft/class_6516;field_34426:Ljava/util/List;
      named packetReadSamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;packetReadSamples:Ljava/util/List;
    • packetSentSamples

      private final List<PacketSample> packetSentSamples
      Mappings:
      Namespace Name Mixin selector
      official f Lard;f:Ljava/util/List;
      intermediary field_34427 Lnet/minecraft/class_6516;field_34427:Ljava/util/List;
      named packetSentSamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;packetSentSamples:Ljava/util/List;
    • fileWriteSamples

      private final List<FileIoSample> fileWriteSamples
      Mappings:
      Namespace Name Mixin selector
      official g Lard;g:Ljava/util/List;
      intermediary field_34428 Lnet/minecraft/class_6516;field_34428:Ljava/util/List;
      named fileWriteSamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;fileWriteSamples:Ljava/util/List;
    • fileReadSamples

      private final List<FileIoSample> fileReadSamples
      Mappings:
      Namespace Name Mixin selector
      official h Lard;h:Ljava/util/List;
      intermediary field_34429 Lnet/minecraft/class_6516;field_34429:Ljava/util/List;
      named fileReadSamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;fileReadSamples:Ljava/util/List;
    • gcCount

      private int gcCount
      Mappings:
      Namespace Name Mixin selector
      official i Lard;i:I
      intermediary field_34430 Lnet/minecraft/class_6516;field_34430:I
      named gcCount Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;gcCount:I
    • gcDuration

      private Duration gcDuration
      Mappings:
      Namespace Name Mixin selector
      official j Lard;j:Ljava/time/Duration;
      intermediary field_34431 Lnet/minecraft/class_6516;field_34431:Ljava/time/Duration;
      named gcDuration Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;gcDuration:Ljava/time/Duration;
    • gcHeapSummarySamples

      private final List<GcHeapSummarySample> gcHeapSummarySamples
      Mappings:
      Namespace Name Mixin selector
      official k Lard;k:Ljava/util/List;
      intermediary field_34432 Lnet/minecraft/class_6516;field_34432:Ljava/util/List;
      named gcHeapSummarySamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;gcHeapSummarySamples:Ljava/util/List;
    • threadAllocationStatisticsSamples

      private final List<ThreadAllocationStatisticsSample> threadAllocationStatisticsSamples
      Mappings:
      Namespace Name Mixin selector
      official l Lard;l:Ljava/util/List;
      intermediary field_34433 Lnet/minecraft/class_6516;field_34433:Ljava/util/List;
      named threadAllocationStatisticsSamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;threadAllocationStatisticsSamples:Ljava/util/List;
    • serverTickTimeSamples

      private final List<ServerTickTimeSample> serverTickTimeSamples
      Mappings:
      Namespace Name Mixin selector
      official m Lard;m:Ljava/util/List;
      intermediary field_34434 Lnet/minecraft/class_6516;field_34434:Ljava/util/List;
      named serverTickTimeSamples Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;serverTickTimeSamples:Ljava/util/List;
    • worldGenDuration

      @Nullable private @Nullable Duration worldGenDuration
      Mappings:
      Namespace Name Mixin selector
      official n Lard;n:Ljava/time/Duration;
      intermediary field_34435 Lnet/minecraft/class_6516;field_34435:Ljava/time/Duration;
      named worldGenDuration Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;worldGenDuration:Ljava/time/Duration;
  • Constructor Details

    • JfrProfileRecorder

      private JfrProfileRecorder(Stream<RecordedEvent> events)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lard;<init>(Ljava/util/stream/Stream;)V
      intermediary <init> Lnet/minecraft/class_6516;<init>(Ljava/util/stream/Stream;)V
      named <init> Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;<init>(Ljava/util/stream/Stream;)V
  • Method Details

    • readProfile

      public static JfrProfile readProfile(Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Lard;a(Ljava/nio/file/Path;)Lare;
      intermediary method_38001 Lnet/minecraft/class_6516;method_38001(Ljava/nio/file/Path;)Lnet/minecraft/class_6517;
      named readProfile Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;readProfile(Ljava/nio/file/Path;)Lnet/minecraft/util/profiling/jfr/JfrProfile;
    • createProfile

      private JfrProfile createProfile()
      Mappings:
      Namespace Name Mixin selector
      official a Lard;a()Lare;
      intermediary method_38000 Lnet/minecraft/class_6516;method_38000()Lnet/minecraft/class_6517;
      named createProfile Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;createProfile()Lnet/minecraft/util/profiling/jfr/JfrProfile;
    • handleEvents

      private void handleEvents(Stream<RecordedEvent> events)
      Mappings:
      Namespace Name Mixin selector
      official a Lard;a(Ljava/util/stream/Stream;)V
      intermediary method_38002 Lnet/minecraft/class_6516;method_38002(Ljava/util/stream/Stream;)V
      named handleEvents Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;handleEvents(Ljava/util/stream/Stream;)V
    • addFileIoSample

      private void addFileIoSample(RecordedEvent event, List<FileIoSample> samples, String bytesKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lard;a(Ljdk/jfr/consumer/RecordedEvent;Ljava/util/List;Ljava/lang/String;)V
      intermediary method_38004 Lnet/minecraft/class_6516;method_38004(Ljdk/jfr/consumer/RecordedEvent;Ljava/util/List;Ljava/lang/String;)V
      named addFileIoSample Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;addFileIoSample(Ljdk/jfr/consumer/RecordedEvent;Ljava/util/List;Ljava/lang/String;)V