Package net.minecraft.util.profiling.jfr
Class JfrJsonReport
java.lang.Object
net.minecraft.util.profiling.jfr.JfrJsonReport
- Mappings:
Namespace Name official asr
intermediary net/minecraft/class_6519
named net/minecraft/util/profiling/jfr/JfrJsonReport
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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 JsonElement
collectPacketSection
(NetworkIoStatistics statistics) private JsonElement
collectServerTickSection
(List<ServerTickTimeSample> samples) private JsonElement
toString
(JfrProfile profile)
-
Field Details
-
BYTES_PER_SECOND
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lasr;b:Ljava/lang/String;
intermediary field_34438
Lnet/minecraft/class_6519;field_34438:Ljava/lang/String;
named BYTES_PER_SECOND
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;BYTES_PER_SECOND:Ljava/lang/String;
-
COUNT
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lasr;c:Ljava/lang/String;
intermediary field_34439
Lnet/minecraft/class_6519;field_34439:Ljava/lang/String;
named COUNT
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;COUNT:Ljava/lang/String;
-
DURATION_NANOS_TOTAL
- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lasr;d:Ljava/lang/String;
intermediary field_34440
Lnet/minecraft/class_6519;field_34440:Ljava/lang/String;
named DURATION_NANOS_TOTAL
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;DURATION_NANOS_TOTAL:Ljava/lang/String;
-
TOTAL_BYTES
- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lasr;e:Ljava/lang/String;
intermediary field_34441
Lnet/minecraft/class_6519;field_34441:Ljava/lang/String;
named TOTAL_BYTES
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;TOTAL_BYTES:Ljava/lang/String;
-
COUNT_PER_SECOND
- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lasr;f:Ljava/lang/String;
intermediary field_34442
Lnet/minecraft/class_6519;field_34442:Ljava/lang/String;
named COUNT_PER_SECOND
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;COUNT_PER_SECOND:Ljava/lang/String;
-
gson
- Mappings:
Namespace Name Mixin selector official a
Lasr;a:Lcom/google/gson/Gson;
intermediary field_34437
Lnet/minecraft/class_6519;field_34437:Lcom/google/gson/Gson;
named gson
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;gson:Lcom/google/gson/Gson;
-
-
Constructor Details
-
JfrJsonReport
public JfrJsonReport()
-
-
Method Details
-
toString
- Mappings:
Namespace Name Mixin selector official a
Lasr;a(Lasp;)Ljava/lang/String;
intermediary method_38010
Lnet/minecraft/class_6519;method_38010(Lnet/minecraft/class_6517;)Ljava/lang/String;
named toString
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;toString(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Ljava/lang/String;
-
collectHeapSection
- Mappings:
Namespace Name Mixin selector official a
Lasr;a(Lasw$a;)Lcom/google/gson/JsonElement;
intermediary method_38013
Lnet/minecraft/class_6519;method_38013(Lnet/minecraft/class_6525$class_6526;)Lcom/google/gson/JsonElement;
named collectHeapSection
Lnet/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 a
Lasr;a(Ljava/util/List;)Lcom/google/gson/JsonElement;
intermediary method_38023
Lnet/minecraft/class_6519;method_38023(Ljava/util/List;)Lcom/google/gson/JsonElement;
named collectChunkGenSection
Lnet/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 a
Lasr;a(Lasy$a;)Lcom/google/gson/JsonElement;
intermediary method_38015
Lnet/minecraft/class_6519;method_38015(Lnet/minecraft/class_6530$class_6531;)Lcom/google/gson/JsonElement;
named collectThreadAllocationSection
Lnet/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 b
Lasr;b(Ljava/util/List;)Lcom/google/gson/JsonElement;
intermediary method_38028
Lnet/minecraft/class_6519;method_38028(Ljava/util/List;)Lcom/google/gson/JsonElement;
named collectServerTickSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectServerTickSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
-
collectFileIoSection
- Mappings:
Namespace Name Mixin selector official b
Lasr;b(Lasp;)Lcom/google/gson/JsonElement;
intermediary method_38025
Lnet/minecraft/class_6519;method_38025(Lnet/minecraft/class_6517;)Lcom/google/gson/JsonElement;
named collectFileIoSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectFileIoSection(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Lcom/google/gson/JsonElement;
-
collectFileIoSection
- Mappings:
Namespace Name Mixin selector official a
Lasr;a(Lasv$a;)Lcom/google/gson/JsonElement;
intermediary method_38012
Lnet/minecraft/class_6519;method_38012(Lnet/minecraft/class_6523$class_6524;)Lcom/google/gson/JsonElement;
named collectFileIoSection
Lnet/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 c
Lasr;c(Lasp;)Lcom/google/gson/JsonElement;
intermediary method_38029
Lnet/minecraft/class_6519;method_38029(Lnet/minecraft/class_6517;)Lcom/google/gson/JsonElement;
named collectNetworkSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectNetworkSection(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Lcom/google/gson/JsonElement;
-
collectPacketSection
- Mappings:
Namespace Name Mixin selector official a
Lasr;a(Lasx;)Lcom/google/gson/JsonElement;
intermediary method_38014
Lnet/minecraft/class_6519;method_38014(Lnet/minecraft/class_6767;)Lcom/google/gson/JsonElement;
named collectPacketSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectPacketSection(Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;)Lcom/google/gson/JsonElement;
-
collectCpuPercentSection
- Mappings:
Namespace Name Mixin selector official c
Lasr;c(Ljava/util/List;)Lcom/google/gson/JsonElement;
intermediary method_38030
Lnet/minecraft/class_6519;method_38030(Ljava/util/List;)Lcom/google/gson/JsonElement;
named collectCpuPercentSection
Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectCpuPercentSection(Ljava/util/List;)Lcom/google/gson/JsonElement;
-