Package net.minecraft.util.profiling.jfr
Class JfrJsonReport
java.lang.Object
net.minecraft.util.profiling.jfr.JfrJsonReport
- All Implemented Interfaces:
JfrReport
- Mappings:
Namespace Name official aqqintermediary net/minecraft/class_6432named 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(PacketSample.Statistics statistics) private JsonElementcollectServerTickSection(List<ServerTickTimeSample> samples) private JsonElementtoString(JfrProfile profile)
-
Field Details
-
BYTES_PER_SECOND
- See Also:
- Mappings:
Namespace Name Mixin selector official bLaqq;b:Ljava/lang/String;intermediary field_34105Lnet/minecraft/class_6432;field_34105: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 cLaqq;c:Ljava/lang/String;intermediary field_34106Lnet/minecraft/class_6432;field_34106: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 dLaqq;d:Ljava/lang/String;intermediary field_34107Lnet/minecraft/class_6432;field_34107: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 eLaqq;e:Ljava/lang/String;intermediary field_34108Lnet/minecraft/class_6432;field_34108: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 fLaqq;f:Ljava/lang/String;intermediary field_34109Lnet/minecraft/class_6432;field_34109: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 aLaqq;a:Lcom/google/gson/Gson;intermediary field_34104Lnet/minecraft/class_6432;field_34104:Lcom/google/gson/Gson;named gsonLnet/minecraft/util/profiling/jfr/JfrJsonReport;gson:Lcom/google/gson/Gson;
-
-
Constructor Details
-
JfrJsonReport
public JfrJsonReport()
-
-
Method Details
-
toString
- Specified by:
toStringin interfaceJfrReport- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLaqr;a(Laqo;)Ljava/lang/String;intermediary method_37529Lnet/minecraft/class_6433;method_37529(Lnet/minecraft/class_6429;)Ljava/lang/String;named toStringLnet/minecraft/util/profiling/jfr/JfrReport;toString(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Ljava/lang/String;
-
collectHeapSection
- Mappings:
Namespace Name Mixin selector official aLaqq;a(Laqx$a;)Lcom/google/gson/JsonElement;intermediary method_37533Lnet/minecraft/class_6432;method_37533(Lnet/minecraft/class_6440$class_6441;)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 aLaqq;a(Ljava/util/List;)Lcom/google/gson/JsonElement;intermediary method_37546Lnet/minecraft/class_6432;method_37546(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 allocationMap) - Mappings:
Namespace Name Mixin selector official aLaqq;a(Laqz$a;)Lcom/google/gson/JsonElement;intermediary method_37535Lnet/minecraft/class_6432;method_37535(Lnet/minecraft/class_6445$class_6446;)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 bLaqq;b(Ljava/util/List;)Lcom/google/gson/JsonElement;intermediary method_37552Lnet/minecraft/class_6432;method_37552(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 bLaqq;b(Laqo;)Lcom/google/gson/JsonElement;intermediary method_37548Lnet/minecraft/class_6432;method_37548(Lnet/minecraft/class_6429;)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 aLaqq;a(Laqw$a;)Lcom/google/gson/JsonElement;intermediary method_37532Lnet/minecraft/class_6432;method_37532(Lnet/minecraft/class_6438$class_6439;)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 cLaqq;c(Laqo;)Lcom/google/gson/JsonElement;intermediary method_37553Lnet/minecraft/class_6432;method_37553(Lnet/minecraft/class_6429;)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 aLaqq;a(Laqy$a;)Lcom/google/gson/JsonElement;intermediary method_37534Lnet/minecraft/class_6432;method_37534(Lnet/minecraft/class_6443$class_6444;)Lcom/google/gson/JsonElement;named collectPacketSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectPacketSection(Lnet/minecraft/util/profiling/jfr/sample/PacketSample$Statistics;)Lcom/google/gson/JsonElement;
-
collectCpuPercentSection
- Mappings:
Namespace Name Mixin selector official cLaqq;c(Ljava/util/List;)Lcom/google/gson/JsonElement;intermediary method_37555Lnet/minecraft/class_6432;method_37555(Ljava/util/List;)Lcom/google/gson/JsonElement;named collectCpuPercentSectionLnet/minecraft/util/profiling/jfr/JfrJsonReport;collectCpuPercentSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
-