net.minecraft.util.profiling.jfr.serialize

public class JfrResultJsonSerializer

bqn
net.minecraft.util.profiling.jfr.serialize.JfrResultJsonSerializer
net.minecraft.class_6519
net.minecraft.util.profiling.jfr.JfrJsonReport
net.minecraft.util.profiling.jfr.serialize.JfrResultJsonSerializer

Field summary

Modifier and TypeField
private static final String
b
BYTES_PER_SECOND
field_34438
BYTES_PER_SECOND
private static final String
c
COUNT
field_34439
COUNT
private static final String
d
DURATION_NANOS_TOTAL
field_34440
DURATION_NANOS_TOTAL
private static final String
e
TOTAL_BYTES
field_34441
TOTAL_BYTES
private static final String
f
COUNT_PER_SECOND
field_34442
COUNT_PER_SECOND
final com.google.gson.Gson
a
gson
field_34437
gson

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static void
a(bqv arg0, com.google.gson.JsonObject arg1)
serializePacketId(PacketIdentification arg0, com.google.gson.JsonObject arg1)
method_56984(class_6769 arg0, com.google.gson.JsonObject arg1)
addPacketData(PacketSample packet, com.google.gson.JsonObject json)
private static void
a(bqq arg0, com.google.gson.JsonObject arg1)
serializeChunkId(ChunkIdentification arg0, com.google.gson.JsonObject arg1)
method_56983(class_9234 arg0, com.google.gson.JsonObject arg1)
addChunkData(ChunkRegionSample chunk, com.google.gson.JsonObject json)
public String
a(bql arg0)
format(JfrStatsResult arg0)
method_38010(class_6517 arg0)
toString(JfrProfile profile)
private com.google.gson.JsonElement
a(bqt$a arg0)
heap(GcHeapStat$Summary arg0)
method_38013(class_6525$class_6526 arg0)
collectHeapSection(GcHeapSummarySample$Statistics statistics)
private com.google.gson.JsonElement
a(List<com.mojang.datafixers.util.Pair<ear, bqz<bqp>>> arg0)
chunkGen(List<com.mojang.datafixers.util.Pair<ChunkStatus, TimedStatSummary<ChunkGenStat>>> arg0)
method_38023(List<com.mojang.datafixers.util.Pair<class_2806, class_6535<class_6521>>> arg0)
collectChunkGenSection(List<com.mojang.datafixers.util.Pair<ChunkStatus, LongRunningSampleStatistics<ChunkGenerationSample>>> statistics)
private com.google.gson.JsonElement
a(bqw$a arg0)
threadAllocations(ThreadAllocationStat$Summary arg0)
method_38015(class_6530$class_6531 arg0)
collectThreadAllocationSection(ThreadAllocationStatisticsSample$AllocationMap statistics)
private com.google.gson.JsonElement
b(List<bqx> arg0)
serverTicks(List<TickTimeStat> arg0)
method_38028(List<class_6532> arg0)
collectServerTickSection(List<ServerTickTimeSample> samples)
private com.google.gson.JsonElement
b(bql arg0)
fileIO(JfrStatsResult arg0)
method_38025(class_6517 arg0)
collectFileIoSection(JfrProfile profile)
private com.google.gson.JsonElement
a(bqs$a arg0)
fileIoSummary(FileIOStat$Summary arg0)
method_38012(class_6523$class_6524 arg0)
collectFileIoSection(FileIoSample$Statistics statistics)
private com.google.gson.JsonElement
c(bql arg0)
network(JfrStatsResult arg0)
method_38029(class_6517 arg0)
collectNetworkSection(JfrProfile profile)
private <T> com.google.gson.JsonElement
a(bqu<T> arg0, BiConsumer<T, com.google.gson.JsonObject> arg1)
ioSummary(IoSummary<T> arg0, BiConsumer<T, com.google.gson.JsonObject> arg1)
method_38014(class_6767<T> arg0, BiConsumer<T, com.google.gson.JsonObject> arg1)
collectPacketSection(NetworkIoStatistics<T> statistics, BiConsumer<T, com.google.gson.JsonObject> callback)
private com.google.gson.JsonElement
c(List<bqr> arg0)
cpu(List<CpuLoadStat> arg0)
method_38030(List<class_6522> arg0)
collectCpuPercentSection(List<CpuLoadSample> samples)