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 - bpo
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidaddChunkData(ChunkRegionSample chunk, JsonObject json) private static voidaddPacketData(PacketSample packet, JsonObject json) private 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 <T> JsonElementcollectPacketSection(NetworkIoStatistics<T> statistics, BiConsumer<T, JsonObject> callback) private JsonElementcollectServerTickSection(List<ServerTickTimeSample> samples) private JsonElementcollectStructureGenSection(List<StructureGenerationSample> structureGenerationSamples) private JsonElementtoString(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- Lbpo;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- Lbpo;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- Lbpo;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- Lbpo;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- Lbpo;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- Lbpo;a:Lcom/google/gson/Gson;
 
 
- 
- 
Constructor Details- 
JfrJsonReportpublic 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- Lbpo;a(Lbpw;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- Lbpo;a(Lbpr;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- Lbpo;a(Lbpm;)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- Lbpo;a(Lbpu$a;)Lcom/google/gson/JsonElement;
 
- 
collectStructureGenSectionprivate JsonElement collectStructureGenSection(List<StructureGenerationSample> structureGenerationSamples) - Mappings:
- Namespace - Name - Mixin selector - named - collectStructureGenSection- Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectStructureGenSection(Ljava/util/List;)Lcom/google/gson/JsonElement;- intermediary - method_65111- Lnet/minecraft/class_6519;method_65111(Ljava/util/List;)Lcom/google/gson/JsonElement;- official - a- Lbpo;a(Ljava/util/List;)Lcom/google/gson/JsonElement;
 
- 
collectChunkGenSectionprivate 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 - b- Lbpo;b(Ljava/util/List;)Lcom/google/gson/JsonElement;
 
- 
collectThreadAllocationSectionprivate 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- Lbpo;a(Lbpy$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 - c- Lbpo;c(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- Lbpo;b(Lbpm;)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- Lbpo;a(Lbpt$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- Lbpo;c(Lbpm;)Lcom/google/gson/JsonElement;
 
- 
collectPacketSectionprivate <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- Lbpo;a(Lbpv;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 - d- Lbpo;d(Ljava/util/List;)Lcom/google/gson/JsonElement;
 
 
-