Class JfrProfileRecorder

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

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

    • startTime

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

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

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

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

      private final Map<PacketSample,JfrProfileRecorder.Counter> receivedPacketsToCounter
      Mappings:
      Namespace Name Mixin selector
      named receivedPacketsToCounter Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;receivedPacketsToCounter:Ljava/util/Map;
      intermediary field_34426 Lnet/minecraft/class_6516;field_34426:Ljava/util/Map;
      official e Lbqj;e:Ljava/util/Map;
    • sentPacketsToCounter

      private final Map<PacketSample,JfrProfileRecorder.Counter> sentPacketsToCounter
      Mappings:
      Namespace Name Mixin selector
      named sentPacketsToCounter Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;sentPacketsToCounter:Ljava/util/Map;
      intermediary field_34427 Lnet/minecraft/class_6516;field_34427:Ljava/util/Map;
      official f Lbqj;f:Ljava/util/Map;
    • chunkRegionReadCounter

      private final Map<ChunkRegionSample,JfrProfileRecorder.Counter> chunkRegionReadCounter
      Mappings:
      Namespace Name Mixin selector
      named chunkRegionReadCounter Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;chunkRegionReadCounter:Ljava/util/Map;
      intermediary field_49070 Lnet/minecraft/class_6516;field_49070:Ljava/util/Map;
      official g Lbqj;g:Ljava/util/Map;
    • chunkRegionWriteCounter

      private final Map<ChunkRegionSample,JfrProfileRecorder.Counter> chunkRegionWriteCounter
      Mappings:
      Namespace Name Mixin selector
      named chunkRegionWriteCounter Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;chunkRegionWriteCounter:Ljava/util/Map;
      intermediary field_49071 Lnet/minecraft/class_6516;field_49071:Ljava/util/Map;
      official h Lbqj;h:Ljava/util/Map;
    • fileWriteSamples

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

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

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

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

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

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

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

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

    • JfrProfileRecorder

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

    • readProfile

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

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

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

      private void addPacket(RecordedEvent event, int bytes, Map<PacketSample,JfrProfileRecorder.Counter> packetsToCounter)
      Mappings:
      Namespace Name Mixin selector
      named addPacket Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;addPacket(Ljdk/jfr/consumer/RecordedEvent;ILjava/util/Map;)V
      intermediary method_39435 Lnet/minecraft/class_6516;method_39435(Ljdk/jfr/consumer/RecordedEvent;ILjava/util/Map;)V
      official a Lbqj;a(Ljdk/jfr/consumer/RecordedEvent;ILjava/util/Map;)V
    • addChunkRegionEvent

      private void addChunkRegionEvent(RecordedEvent event, int bytes, Map<ChunkRegionSample,JfrProfileRecorder.Counter> chunksToCounter)
      Mappings:
      Namespace Name Mixin selector
      named addChunkRegionEvent Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;addChunkRegionEvent(Ljdk/jfr/consumer/RecordedEvent;ILjava/util/Map;)V
      intermediary method_56982 Lnet/minecraft/class_6516;method_56982(Ljdk/jfr/consumer/RecordedEvent;ILjava/util/Map;)V
      official b Lbqj;b(Ljdk/jfr/consumer/RecordedEvent;ILjava/util/Map;)V
    • addFileIoSample

      private void addFileIoSample(RecordedEvent event, List<FileIoSample> samples, String bytesKey)
      Mappings:
      Namespace Name Mixin selector
      named addFileIoSample Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;addFileIoSample(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
      official a Lbqj;a(Ljdk/jfr/consumer/RecordedEvent;Ljava/util/List;Ljava/lang/String;)V
    • createNetworkIoStatistics

      private static <T> NetworkIoStatistics<T> createNetworkIoStatistics(Duration duration, Map<T,JfrProfileRecorder.Counter> packetsToCounter)
      Mappings:
      Namespace Name Mixin selector
      named createNetworkIoStatistics Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;createNetworkIoStatistics(Ljava/time/Duration;Ljava/util/Map;)Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;
      intermediary method_39433 Lnet/minecraft/class_6516;method_39433(Ljava/time/Duration;Ljava/util/Map;)Lnet/minecraft/class_6767;
      official a Lbqj;a(Ljava/time/Duration;Ljava/util/Map;)Lbqt;