Package net.minecraft.util.profiling.jfr
Class JfrProfileRecorder
java.lang.Object
net.minecraft.util.profiling.jfr.JfrProfileRecorder
- Mappings:
Namespace Name official bed
intermediary net/minecraft/class_6516
named net/minecraft/util/profiling/jfr/JfrProfileRecorder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ChunkGenerationSample>
private final List<CpuLoadSample>
private Instant
private final List<FileIoSample>
private final List<FileIoSample>
private int
private Duration
private final List<GcHeapSummarySample>
private final Map<NetworkIoStatistics.Packet,
JfrProfileRecorder.PacketCounter> private final Map<NetworkIoStatistics.Packet,
JfrProfileRecorder.PacketCounter> private final List<ServerTickTimeSample>
private Instant
private final List<ThreadAllocationStatisticsSample>
private @Nullable Duration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addFileIoSample
(RecordedEvent event, List<FileIoSample> samples, String bytesKey) private void
addPacket
(RecordedEvent event, int bytes, Map<NetworkIoStatistics.Packet, JfrProfileRecorder.PacketCounter> packetsToCounter) private static NetworkIoStatistics
createNetworkIoStatistics
(Duration duration, Map<NetworkIoStatistics.Packet, JfrProfileRecorder.PacketCounter> packetsToCounter) private JfrProfile
private void
handleEvents
(Stream<RecordedEvent> events) static JfrProfile
readProfile
(Path path)
-
Field Details
-
startTime
- Mappings:
Namespace Name Mixin selector official a
Lbed;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
- Mappings:
Namespace Name Mixin selector official b
Lbed;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
- Mappings:
Namespace Name Mixin selector official c
Lbed;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
- Mappings:
Namespace Name Mixin selector official d
Lbed;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;
-
receivedPacketsToCounter
private final Map<NetworkIoStatistics.Packet,JfrProfileRecorder.PacketCounter> receivedPacketsToCounter- Mappings:
Namespace Name Mixin selector official e
Lbed;e:Ljava/util/Map;
intermediary field_34426
Lnet/minecraft/class_6516;field_34426:Ljava/util/Map;
named receivedPacketsToCounter
Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;receivedPacketsToCounter:Ljava/util/Map;
-
sentPacketsToCounter
- Mappings:
Namespace Name Mixin selector official f
Lbed;f:Ljava/util/Map;
intermediary field_34427
Lnet/minecraft/class_6516;field_34427:Ljava/util/Map;
named sentPacketsToCounter
Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;sentPacketsToCounter:Ljava/util/Map;
-
fileWriteSamples
- Mappings:
Namespace Name Mixin selector official g
Lbed;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
- Mappings:
Namespace Name Mixin selector official h
Lbed;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
Lbed;i:I
intermediary field_34430
Lnet/minecraft/class_6516;field_34430:I
named gcCount
Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;gcCount:I
-
gcDuration
- Mappings:
Namespace Name Mixin selector official j
Lbed;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
- Mappings:
Namespace Name Mixin selector official k
Lbed;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
- Mappings:
Namespace Name Mixin selector official l
Lbed;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
- Mappings:
Namespace Name Mixin selector official m
Lbed;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
- Mappings:
Namespace Name Mixin selector official n
Lbed;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
- Mappings:
Namespace Name Mixin selector official <init>
Lbed;<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
- Mappings:
Namespace Name Mixin selector official a
Lbed;a(Ljava/nio/file/Path;)Lbee;
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
- Mappings:
Namespace Name Mixin selector official a
Lbed;a()Lbee;
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
- Mappings:
Namespace Name Mixin selector official a
Lbed;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
-
addPacket
private void addPacket(RecordedEvent event, int bytes, Map<NetworkIoStatistics.Packet, JfrProfileRecorder.PacketCounter> packetsToCounter) - Mappings:
Namespace Name Mixin selector official a
Lbed;a(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
named addPacket
Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;addPacket(Ljdk/jfr/consumer/RecordedEvent;ILjava/util/Map;)V
-
addFileIoSample
- Mappings:
Namespace Name Mixin selector official a
Lbed;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
-
createNetworkIoStatistics
private static NetworkIoStatistics createNetworkIoStatistics(Duration duration, Map<NetworkIoStatistics.Packet, JfrProfileRecorder.PacketCounter> packetsToCounter) - Mappings:
Namespace Name Mixin selector official a
Lbed;a(Ljava/time/Duration;Ljava/util/Map;)Lbem;
intermediary method_39433
Lnet/minecraft/class_6516;method_39433(Ljava/time/Duration;Ljava/util/Map;)Lnet/minecraft/class_6767;
named createNetworkIoStatistics
Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder;createNetworkIoStatistics(Ljava/time/Duration;Ljava/util/Map;)Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;
-