net.minecraft.util.profiling.jfr.serialize

public class JfrResultJsonSerializer

bnx
net.minecraft.util.profiling.jfr.serialize.JfrResultJsonSerializer
net.minecraft.class_6519
net.minecraft.util.profiling.jfr.JfrJsonReport
net.minecraft.src.C_182823_
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
f_185529_
private static final String
c
COUNT
field_34439
COUNT
f_185530_
private static final String
d
DURATION_NANOS_TOTAL
field_34440
DURATION_NANOS_TOTAL
f_185531_
private static final String
e
TOTAL_BYTES
field_34441
TOTAL_BYTES
f_185532_
private static final String
f
COUNT_PER_SECOND
field_34442
COUNT_PER_SECOND
f_185533_
final com.google.gson.Gson
a
gson
field_34437
gson
f_185528_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static void
a(bof 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)
m_324799_(C_313413_ p_335435_, com.google.gson.JsonObject p_331788_)
private static void
a(boa 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)
m_321286_(C_313273_ p_332094_, com.google.gson.JsonObject p_330415_)
public String
a(bnv arg0)
format(JfrStatsResult arg0)
method_38010(class_6517 arg0)
toString(JfrProfile profile)
m_185535_(C_182821_ arg0)
private com.google.gson.JsonElement
a(bod$a arg0)
heap(GcHeapStat$Summary arg0)
method_38013(class_6525$class_6526 arg0)
collectHeapSection(GcHeapSummarySample$Statistics statistics)
m_185541_(C_182829_$C_182830_ arg0)
private com.google.gson.JsonElement
a(List<com.mojang.datafixers.util.Pair<dvz, boj<bnz>>> 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)
m_185572_(List<com.mojang.datafixers.util.Pair<C_313554_, C_182840_<C_182825_>>> arg0)
private com.google.gson.JsonElement
a(bog$a arg0)
threadAllocations(ThreadAllocationStat$Summary arg0)
method_38015(class_6530$class_6531 arg0)
collectThreadAllocationSection(ThreadAllocationStatisticsSample$AllocationMap statistics)
m_185545_(C_182835_$C_182836_ arg0)
private com.google.gson.JsonElement
b(List<boh> arg0)
serverTicks(List<TickTimeStat> arg0)
method_38028(List<class_6532> arg0)
collectServerTickSection(List<ServerTickTimeSample> samples)
m_185586_(List<C_182837_> arg0)
private com.google.gson.JsonElement
b(bnv arg0)
fileIO(JfrStatsResult arg0)
method_38025(class_6517 arg0)
collectFileIoSection(JfrProfile profile)
m_185577_(C_182821_ arg0)
private com.google.gson.JsonElement
a(boc$a arg0)
fileIoSummary(FileIOStat$Summary arg0)
method_38012(class_6523$class_6524 arg0)
collectFileIoSection(FileIoSample$Statistics statistics)
m_185539_(C_182827_$C_182828_ arg0)
private com.google.gson.JsonElement
c(bnv arg0)
network(JfrStatsResult arg0)
method_38029(class_6517 arg0)
collectNetworkSection(JfrProfile profile)
m_185588_(C_182821_ arg0)
private <T> com.google.gson.JsonElement
a(boe<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)
m_321291_(C_313480_<T> p_328845_, BiConsumer<T, com.google.gson.JsonObject> arg1)
private com.google.gson.JsonElement
c(List<bob> arg0)
cpu(List<CpuLoadStat> arg0)
method_38030(List<class_6522> arg0)
collectCpuPercentSection(List<CpuLoadSample> samples)
m_185590_(List<C_182826_> arg0)