Package net.minecraft.util.profiling.jfr
Class JfrProfileRecorder
java.lang.Object
net.minecraft.util.profiling.jfr.JfrProfileRecorder
- Mappings:
Namespace Name named net/minecraft/util/profiling/jfr/JfrProfileRecorder
intermediary net/minecraft/class_6516
official bnk
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<ChunkGenerationSample> private final Map
<ChunkRegionSample, JfrProfileRecorder.Counter> private final Map
<ChunkRegionSample, JfrProfileRecorder.Counter> 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
<PacketSample, JfrProfileRecorder.Counter> private final Map
<PacketSample, JfrProfileRecorder.Counter> private final List
<ServerTickTimeSample> private Instant
private final List
<ThreadAllocationStatisticsSample> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addChunkRegionEvent
(RecordedEvent event, int bytes, Map<ChunkRegionSample, JfrProfileRecorder.Counter> chunksToCounter) private void
addFileIoSample
(RecordedEvent event, List<FileIoSample> samples, String bytesKey) private void
addPacket
(RecordedEvent event, int bytes, Map<PacketSample, JfrProfileRecorder.Counter> packetsToCounter) private static <T> NetworkIoStatistics
<T> createNetworkIoStatistics
(Duration duration, Map<T, JfrProfileRecorder.Counter> packetsToCounter) private JfrProfile
private void
handleEvents
(Stream<RecordedEvent> events) static JfrProfile
readProfile
(Path path)
-
Field Details
-
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
Lbnk;a:Ljava/time/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
Lbnk;b:Ljava/time/Instant;
-
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
Lbnk;c:Ljava/util/List;
-
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
Lbnk;d:Ljava/util/List;
-
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
Lbnk;e:Ljava/util/Map;
-
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
Lbnk;f:Ljava/util/Map;
-
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
Lbnk;g:Ljava/util/Map;
-
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
Lbnk;h:Ljava/util/Map;
-
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
Lbnk;i:Ljava/util/List;
-
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
Lbnk;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
Lbnk;k:I
-
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
Lbnk;l:Ljava/time/Duration;
-
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
Lbnk;m:Ljava/util/List;
-
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
Lbnk;n:Ljava/util/List;
-
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
Lbnk;o:Ljava/util/List;
-
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
Lbnk;p:Ljava/time/Duration;
-
-
Constructor Details
-
JfrProfileRecorder
- 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>
Lbnk;<init>(Ljava/util/stream/Stream;)V
-
-
Method Details
-
readProfile
- 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
Lbnk;a(Ljava/nio/file/Path;)Lbnl;
-
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
Lbnk;a()Lbnl;
-
handleEvents
- 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
Lbnk;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
Lbnk;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
Lbnk;b(Ljdk/jfr/consumer/RecordedEvent;ILjava/util/Map;)V
-
addFileIoSample
- 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
Lbnk;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
Lbnk;a(Ljava/time/Duration;Ljava/util/Map;)Lbnu;
-