Package net.minecraft.util.profiling.jfr
Class JfrJsonReport
java.lang.Object
net.minecraft.util.profiling.jfr.JfrJsonReport
- Mappings:
Namespace Name official banintermediary net/minecraft/class_6519named net/minecraft/util/profiling/jfr/JfrJsonReport
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate JsonElementcollectChunkGenSection(List<com.mojang.datafixers.util.Pair<ChunkStatus, LongRunningSampleStatistics<ChunkGenerationSample>>> statistics) private JsonElementcollectCpuPercentSection(List<CpuLoadSample> samples) private JsonElementcollectFileIoSection(JfrProfile profile) private JsonElementcollectFileIoSection(FileIoSample.Statistics statistics) private JsonElementcollectHeapSection(GcHeapSummarySample.Statistics statistics) private JsonElementcollectNetworkSection(JfrProfile profile) private JsonElementcollectPacketSection(NetworkIoStatistics statistics) private JsonElementcollectServerTickSection(List<ServerTickTimeSample> samples) private JsonElementtoString(JfrProfile profile)
-
Field Details
-
BYTES_PER_SECOND
- See Also:
- Mappings:
Namespace Name Mixin selector official bLban;b:Ljava/lang/String;intermediary field_34438Lnet/minecraft/class_6519;field_34438:Ljava/lang/String;named BYTES_PER_SECONDLnet/minecraft/util/profiling/jfr/JfrJsonReport;BYTES_PER_SECOND:Ljava/lang/String;
-
COUNT
- See Also:
- Mappings:
Namespace Name Mixin selector official cLban;c:Ljava/lang/String;intermediary field_34439Lnet/minecraft/class_6519;field_34439:Ljava/lang/String;named COUNTLnet/minecraft/util/profiling/jfr/JfrJsonReport;COUNT:Ljava/lang/String;
-
DURATION_NANOS_TOTAL
- See Also:
- Mappings:
Namespace Name Mixin selector official dLban;d:Ljava/lang/String;intermediary field_34440Lnet/minecraft/class_6519;field_34440:Ljava/lang/String;named DURATION_NANOS_TOTALLnet/minecraft/util/profiling/jfr/JfrJsonReport;DURATION_NANOS_TOTAL:Ljava/lang/String;
-
TOTAL_BYTES
- See Also:
- Mappings:
Namespace Name Mixin selector official eLban;e:Ljava/lang/String;intermediary field_34441Lnet/minecraft/class_6519;field_34441:Ljava/lang/String;named TOTAL_BYTESLnet/minecraft/util/profiling/jfr/JfrJsonReport;TOTAL_BYTES:Ljava/lang/String;
-
COUNT_PER_SECOND
- See Also:
- Mappings:
Namespace Name Mixin selector official fLban;f:Ljava/lang/String;intermediary field_34442Lnet/minecraft/class_6519;field_34442:Ljava/lang/String;named COUNT_PER_SECONDLnet/minecraft/util/profiling/jfr/JfrJsonReport;COUNT_PER_SECOND:Ljava/lang/String;
-
gson
- Mappings:
Namespace Name Mixin selector official aLban;a:Lcom/google/gson/Gson;intermediary field_34437Lnet/minecraft/class_6519;field_34437:Lcom/google/gson/Gson;named gsonLnet/minecraft/util/profiling/jfr/JfrJsonReport;gson:Lcom/google/gson/Gson;
-
-
Constructor Details
-
JfrJsonReport
public JfrJsonReport()
-
-
Method Details
-
toString
- Mappings:
Namespace Name Mixin selector official aLban;a(Lbal;)Ljava/lang/String;intermediary method_38010Lnet/minecraft/class_6519;method_38010(Lnet/minecraft/class_6517;)Ljava/lang/String;named toStringLnet/minecraft/util/profiling/jfr/JfrJsonReport;toString(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Ljava/lang/String;
-
collectHeapSection
- Mappings:
Namespace Name Mixin selector official aLban;a(Lbas$a;)Lcom/google/gson/JsonElement;intermediary method_38013Lnet/minecraft/class_6519;method_38013(Lnet/minecraft/class_6525$class_6526;)Lcom/google/gson/JsonElement;named collectHeapSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectHeapSection(Lnet/minecraft/util/profiling/jfr/sample/GcHeapSummarySample$Statistics;)Lcom/google/gson/JsonElement;
-
collectChunkGenSection
private JsonElement collectChunkGenSection(List<com.mojang.datafixers.util.Pair<ChunkStatus, LongRunningSampleStatistics<ChunkGenerationSample>>> statistics) - Mappings:
Namespace Name Mixin selector official aLban;a(Ljava/util/List;)Lcom/google/gson/JsonElement;intermediary method_38023Lnet/minecraft/class_6519;method_38023(Ljava/util/List;)Lcom/google/gson/JsonElement;named collectChunkGenSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectChunkGenSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
-
collectThreadAllocationSection
private JsonElement collectThreadAllocationSection(ThreadAllocationStatisticsSample.AllocationMap statistics) - Mappings:
Namespace Name Mixin selector official aLban;a(Lbau$a;)Lcom/google/gson/JsonElement;intermediary method_38015Lnet/minecraft/class_6519;method_38015(Lnet/minecraft/class_6530$class_6531;)Lcom/google/gson/JsonElement;named collectThreadAllocationSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectThreadAllocationSection(Lnet/minecraft/util/profiling/jfr/sample/ThreadAllocationStatisticsSample$AllocationMap;)Lcom/google/gson/JsonElement;
-
collectServerTickSection
- Mappings:
Namespace Name Mixin selector official bLban;b(Ljava/util/List;)Lcom/google/gson/JsonElement;intermediary method_38028Lnet/minecraft/class_6519;method_38028(Ljava/util/List;)Lcom/google/gson/JsonElement;named collectServerTickSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectServerTickSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
-
collectFileIoSection
- Mappings:
Namespace Name Mixin selector official bLban;b(Lbal;)Lcom/google/gson/JsonElement;intermediary method_38025Lnet/minecraft/class_6519;method_38025(Lnet/minecraft/class_6517;)Lcom/google/gson/JsonElement;named collectFileIoSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectFileIoSection(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Lcom/google/gson/JsonElement;
-
collectFileIoSection
- Mappings:
Namespace Name Mixin selector official aLban;a(Lbar$a;)Lcom/google/gson/JsonElement;intermediary method_38012Lnet/minecraft/class_6519;method_38012(Lnet/minecraft/class_6523$class_6524;)Lcom/google/gson/JsonElement;named collectFileIoSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectFileIoSection(Lnet/minecraft/util/profiling/jfr/sample/FileIoSample$Statistics;)Lcom/google/gson/JsonElement;
-
collectNetworkSection
- Mappings:
Namespace Name Mixin selector official cLban;c(Lbal;)Lcom/google/gson/JsonElement;intermediary method_38029Lnet/minecraft/class_6519;method_38029(Lnet/minecraft/class_6517;)Lcom/google/gson/JsonElement;named collectNetworkSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectNetworkSection(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Lcom/google/gson/JsonElement;
-
collectPacketSection
- Mappings:
Namespace Name Mixin selector official aLban;a(Lbat;)Lcom/google/gson/JsonElement;intermediary method_38014Lnet/minecraft/class_6519;method_38014(Lnet/minecraft/class_6767;)Lcom/google/gson/JsonElement;named collectPacketSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectPacketSection(Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;)Lcom/google/gson/JsonElement;
-
collectCpuPercentSection
- Mappings:
Namespace Name Mixin selector official cLban;c(Ljava/util/List;)Lcom/google/gson/JsonElement;intermediary method_38030Lnet/minecraft/class_6519;method_38030(Ljava/util/List;)Lcom/google/gson/JsonElement;named collectCpuPercentSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectCpuPercentSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
-