Class JfrJsonReport

java.lang.Object
net.minecraft.util.profiling.jfr.JfrJsonReport
All Implemented Interfaces:
JfrReport

public class JfrJsonReport extends Object implements JfrReport
Mappings:
Namespace Name
official aqn
intermediary net/minecraft/class_6432
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 Laqn;b:Ljava/lang/String;
      intermediary field_34105 Lnet/minecraft/class_6432;field_34105: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 Laqn;c:Ljava/lang/String;
      intermediary field_34106 Lnet/minecraft/class_6432;field_34106: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 Laqn;d:Ljava/lang/String;
      intermediary field_34107 Lnet/minecraft/class_6432;field_34107: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 Laqn;e:Ljava/lang/String;
      intermediary field_34108 Lnet/minecraft/class_6432;field_34108: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 Laqn;f:Ljava/lang/String;
      intermediary field_34109 Lnet/minecraft/class_6432;field_34109: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 Laqn;a:Lcom/google/gson/Gson;
      intermediary field_34104 Lnet/minecraft/class_6432;field_34104: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) throws IOException
      Specified by:
      toString in interface JfrReport
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Laqo;a(Laql;)Ljava/lang/String;
      intermediary method_37529 Lnet/minecraft/class_6433;method_37529(Lnet/minecraft/class_6429;)Ljava/lang/String;
      named toString Lnet/minecraft/util/profiling/jfr/JfrReport;toString(Lnet/minecraft/util/profiling/jfr/JfrProfile;)Ljava/lang/String;
    • collectHeapSection

      private JsonElement collectHeapSection(GcHeapSummarySample.Statistics statistics)
      Mappings:
      Namespace Name Mixin selector
      official a Laqn;a(Laqu$a;)Lcom/google/gson/JsonElement;
      intermediary method_37533 Lnet/minecraft/class_6432;method_37533(Lnet/minecraft/class_6440$class_6441;)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 Laqn;a(Ljava/util/List;)Lcom/google/gson/JsonElement;
      intermediary method_37546 Lnet/minecraft/class_6432;method_37546(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 allocationMap)
      Mappings:
      Namespace Name Mixin selector
      official a Laqn;a(Laqw$a;)Lcom/google/gson/JsonElement;
      intermediary method_37535 Lnet/minecraft/class_6432;method_37535(Lnet/minecraft/class_6445$class_6446;)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 Laqn;b(Ljava/util/List;)Lcom/google/gson/JsonElement;
      intermediary method_37552 Lnet/minecraft/class_6432;method_37552(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 Laqn;b(Laql;)Lcom/google/gson/JsonElement;
      intermediary method_37548 Lnet/minecraft/class_6432;method_37548(Lnet/minecraft/class_6429;)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 Laqn;a(Laqt$a;)Lcom/google/gson/JsonElement;
      intermediary method_37532 Lnet/minecraft/class_6432;method_37532(Lnet/minecraft/class_6438$class_6439;)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 Laqn;c(Laql;)Lcom/google/gson/JsonElement;
      intermediary method_37553 Lnet/minecraft/class_6432;method_37553(Lnet/minecraft/class_6429;)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(PacketSample.Statistics statistics)
      Mappings:
      Namespace Name Mixin selector
      official a Laqn;a(Laqv$a;)Lcom/google/gson/JsonElement;
      intermediary method_37534 Lnet/minecraft/class_6432;method_37534(Lnet/minecraft/class_6443$class_6444;)Lcom/google/gson/JsonElement;
      named collectPacketSection Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectPacketSection(Lnet/minecraft/util/profiling/jfr/sample/PacketSample$Statistics;)Lcom/google/gson/JsonElement;
    • collectCpuPercentSection

      private JsonElement collectCpuPercentSection(List<CpuLoadSample> samples)
      Mappings:
      Namespace Name Mixin selector
      official c Laqn;c(Ljava/util/List;)Lcom/google/gson/JsonElement;
      intermediary method_37555 Lnet/minecraft/class_6432;method_37555(Ljava/util/List;)Lcom/google/gson/JsonElement;
      named collectCpuPercentSection Lnet/minecraft/util/profiling/jfr/JfrJsonReport;collectCpuPercentSection(Ljava/util/List;)Lcom/google/gson/JsonElement;