Package net.minecraft.util.profiling.jfr
Class JfrJsonReport
java.lang.Object
net.minecraft.util.profiling.jfr.JfrJsonReport
- Mappings:
Namespace Name named net/minecraft/util/profiling/jfr/JfrJsonReport
intermediary net/minecraft/class_6519
official bob
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addChunkData
(ChunkRegionSample chunk, JsonObject json) private static void
addPacketData
(PacketSample packet, JsonObject json) private JsonElement
collectChunkGenSection
(List<com.mojang.datafixers.util.Pair<ChunkStatus, LongRunningSampleStatistics<ChunkGenerationSample>>> statistics) private JsonElement
collectCpuPercentSection
(List<CpuLoadSample> samples) private JsonElement
collectFileIoSection
(JfrProfile profile) private JsonElement
collectFileIoSection
(FileIoSample.Statistics statistics) private JsonElement
collectHeapSection
(GcHeapSummarySample.Statistics statistics) private JsonElement
collectNetworkSection
(JfrProfile profile) private <T> JsonElement
collectPacketSection
(NetworkIoStatistics<T> statistics, BiConsumer<T, JsonObject> callback) private JsonElement
collectServerTickSection
(List<ServerTickTimeSample> samples) private JsonElement
toString
(JfrProfile profile)
-
Field Details
-
BYTES_PER_SECOND
- See Also:
- Mappings:
Namespace Name Mixin selector named BYTES_PER_SECOND
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;BYTES_PER_SECOND:Ljava/lang/String;
intermediary field_34438
Lnet/minecraft/class_6519;field_34438:Ljava/lang/String;
official b
Lbob;b:Ljava/lang/String;
-
COUNT
- See Also:
- Mappings:
Namespace Name Mixin selector named COUNT
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;COUNT:Ljava/lang/String;
intermediary field_34439
Lnet/minecraft/class_6519;field_34439:Ljava/lang/String;
official c
Lbob;c:Ljava/lang/String;
-
DURATION_NANOS_TOTAL
- See Also:
- Mappings:
Namespace Name Mixin selector named DURATION_NANOS_TOTAL
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;DURATION_NANOS_TOTAL:Ljava/lang/String;
intermediary field_34440
Lnet/minecraft/class_6519;field_34440:Ljava/lang/String;
official d
Lbob;d:Ljava/lang/String;
-
TOTAL_BYTES
- See Also:
- Mappings:
Namespace Name Mixin selector named TOTAL_BYTES
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;TOTAL_BYTES:Ljava/lang/String;
intermediary field_34441
Lnet/minecraft/class_6519;field_34441:Ljava/lang/String;
official e
Lbob;e:Ljava/lang/String;
-
COUNT_PER_SECOND
- See Also:
- Mappings:
Namespace Name Mixin selector named COUNT_PER_SECOND
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;COUNT_PER_SECOND:Ljava/lang/String;
intermediary field_34442
Lnet/minecraft/class_6519;field_34442:Ljava/lang/String;
official f
Lbob;f:Ljava/lang/String;
-
gson
- Mappings:
Namespace Name Mixin selector named gson
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;gson:Lcom/google/gson/Gson;
intermediary field_34437
Lnet/minecraft/class_6519;field_34437:Lcom/google/gson/Gson;
official a
Lbob;a:Lcom/google/gson/Gson;
-
-
Constructor Details
-
JfrJsonReport
public JfrJsonReport()
-
-
Method Details
-
addPacketData
- Mappings:
Namespace Name Mixin selector named addPacketData
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;addPacketData(Lnet/minecraft/util/profiling/jfr/sample/PacketSample;Lcom/google/gson/JsonObject;)V
intermediary method_56984
Lnet/minecraft/class_6519;method_56984(Lnet/minecraft/class_6769;Lcom/google/gson/JsonObject;)V
official a
Lbob;a(Lboj;Lcom/google/gson/JsonObject;)V
-
addChunkData
- Mappings:
Namespace Name Mixin selector named addChunkData
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;addChunkData(Lnet/minecraft/util/profiling/jfr/sample/ChunkRegionSample;Lcom/google/gson/JsonObject;)V
intermediary method_56983
Lnet/minecraft/class_6519;method_56983(Lnet/minecraft/class_9234;Lcom/google/gson/JsonObject;)V
official a
Lbob;a(Lboe;Lcom/google/gson/JsonObject;)V
-
toString
- Mappings:
Namespace Name Mixin selector named toString
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;toString(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Ljava/lang/String;
intermediary method_38010
Lnet/minecraft/class_6519;method_38010(Lnet/minecraft/class_6517;)Ljava/lang/String;
official a
Lbob;a(Lbnz;)Ljava/lang/String;
-
collectHeapSection
- Mappings:
Namespace Name Mixin selector named collectHeapSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectHeapSection(Lnet/minecraft/util/profiling/jfr/sample/GcHeapSummarySample$Statistics;)Lcom/google/gson/JsonElement;
intermediary method_38013
Lnet/minecraft/class_6519;method_38013(Lnet/minecraft/class_6525$class_6526;)Lcom/google/gson/JsonElement;
official a
Lbob;a(Lboh$a;)Lcom/google/gson/JsonElement;
-
collectChunkGenSection
private JsonElement collectChunkGenSection(List<com.mojang.datafixers.util.Pair<ChunkStatus, LongRunningSampleStatistics<ChunkGenerationSample>>> statistics) - Mappings:
Namespace Name Mixin selector named collectChunkGenSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectChunkGenSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
intermediary method_38023
Lnet/minecraft/class_6519;method_38023(Ljava/util/List;)Lcom/google/gson/JsonElement;
official a
Lbob;a(Ljava/util/List;)Lcom/google/gson/JsonElement;
-
collectThreadAllocationSection
private JsonElement collectThreadAllocationSection(ThreadAllocationStatisticsSample.AllocationMap statistics) - Mappings:
Namespace Name Mixin selector named collectThreadAllocationSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectThreadAllocationSection(Lnet/minecraft/util/profiling/jfr/sample/ThreadAllocationStatisticsSample$AllocationMap;)Lcom/google/gson/JsonElement;
intermediary method_38015
Lnet/minecraft/class_6519;method_38015(Lnet/minecraft/class_6530$class_6531;)Lcom/google/gson/JsonElement;
official a
Lbob;a(Lbok$a;)Lcom/google/gson/JsonElement;
-
collectServerTickSection
- Mappings:
Namespace Name Mixin selector named collectServerTickSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectServerTickSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
intermediary method_38028
Lnet/minecraft/class_6519;method_38028(Ljava/util/List;)Lcom/google/gson/JsonElement;
official b
Lbob;b(Ljava/util/List;)Lcom/google/gson/JsonElement;
-
collectFileIoSection
- Mappings:
Namespace Name Mixin selector named collectFileIoSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectFileIoSection(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Lcom/google/gson/JsonElement;
intermediary method_38025
Lnet/minecraft/class_6519;method_38025(Lnet/minecraft/class_6517;)Lcom/google/gson/JsonElement;
official b
Lbob;b(Lbnz;)Lcom/google/gson/JsonElement;
-
collectFileIoSection
- Mappings:
Namespace Name Mixin selector named collectFileIoSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectFileIoSection(Lnet/minecraft/util/profiling/jfr/sample/FileIoSample$Statistics;)Lcom/google/gson/JsonElement;
intermediary method_38012
Lnet/minecraft/class_6519;method_38012(Lnet/minecraft/class_6523$class_6524;)Lcom/google/gson/JsonElement;
official a
Lbob;a(Lbog$a;)Lcom/google/gson/JsonElement;
-
collectNetworkSection
- Mappings:
Namespace Name Mixin selector named collectNetworkSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectNetworkSection(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Lcom/google/gson/JsonElement;
intermediary method_38029
Lnet/minecraft/class_6519;method_38029(Lnet/minecraft/class_6517;)Lcom/google/gson/JsonElement;
official c
Lbob;c(Lbnz;)Lcom/google/gson/JsonElement;
-
collectPacketSection
private <T> JsonElement collectPacketSection(NetworkIoStatistics<T> statistics, BiConsumer<T, JsonObject> callback) - Mappings:
Namespace Name Mixin selector named collectPacketSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectPacketSection(Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;Ljava/util/function/BiConsumer;)Lcom/google/gson/JsonElement;
intermediary method_38014
Lnet/minecraft/class_6519;method_38014(Lnet/minecraft/class_6767;Ljava/util/function/BiConsumer;)Lcom/google/gson/JsonElement;
official a
Lbob;a(Lboi;Ljava/util/function/BiConsumer;)Lcom/google/gson/JsonElement;
-
collectCpuPercentSection
- Mappings:
Namespace Name Mixin selector named collectCpuPercentSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectCpuPercentSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
intermediary method_38030
Lnet/minecraft/class_6519;method_38030(Ljava/util/List;)Lcom/google/gson/JsonElement;
official c
Lbob;c(Ljava/util/List;)Lcom/google/gson/JsonElement;
-