Class JfrJsonReport

java.lang.Object
net.minecraft.util.profiling.jfr.JfrJsonReport

public class JfrJsonReport extends Object
Mappings:
Namespace Name
official asy
intermediary net/minecraft/class_6519
named net/minecraft/util/profiling/jfr/JfrJsonReport
  • Field Details

    • BYTES_PER_SECOND

      private static final String BYTES_PER_SECOND
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lasy;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

      private static final String COUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lasy;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

      private static final String DURATION_NANOS_TOTAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lasy;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

      private static final String TOTAL_BYTES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lasy;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

      private static final String COUNT_PER_SECOND
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lasy;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

      final Gson gson
      Mappings:
      Namespace Name Mixin selector
      official a Lasy;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

      public String toString(JfrProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Lasy;a(Lasw;)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

      private JsonElement collectHeapSection(GcHeapSummarySample.Statistics statistics)
      Mappings:
      Namespace Name Mixin selector
      official a Lasy;a(Latd$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 Lasy;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 Lasy;a(Latf$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

      private JsonElement collectServerTickSection(List<ServerTickTimeSample> samples)
      Mappings:
      Namespace Name Mixin selector
      official b Lasy;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

      private JsonElement collectFileIoSection(JfrProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official b Lasy;b(Lasw;)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

      private JsonElement collectFileIoSection(FileIoSample.Statistics statistics)
      Mappings:
      Namespace Name Mixin selector
      official a Lasy;a(Latc$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

      private JsonElement collectNetworkSection(JfrProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official c Lasy;c(Lasw;)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

      private JsonElement collectPacketSection(NetworkIoStatistics statistics)
      Mappings:
      Namespace Name Mixin selector
      official a Lasy;a(Late;)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

      private JsonElement collectCpuPercentSection(List<CpuLoadSample> samples)
      Mappings:
      Namespace Name Mixin selector
      official c Lasy;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;