net.minecraft.util.profiling.jfr

public class JfrProfileRecorder

net.minecraft.util.profiling.jfr.parse.JfrStatsParser
net.minecraft.class_6516
net.minecraft.util.profiling.jfr.JfrProfileRecorder

Field summary

Modifier and TypeField
private Instant
recordingStarted
field_34422
startTime
private Instant
recordingEnded
field_34423
endTime
private final List<ChunkGenerationSample>
chunkGenStats
field_34424
chunkGenerationSamples
private final List<StructureGenerationSample>
structureGenStats
field_55004
structureGenerationSamples
private final List<CpuLoadSample>
cpuLoadStat
field_34425
cpuLoadSamples
private final Map<PacketSample, JfrProfileRecorder$Counter>
receivedPackets
field_34426
receivedPacketsToCounter
private final Map<PacketSample, JfrProfileRecorder$Counter>
sentPackets
field_34427
sentPacketsToCounter
private final Map<ChunkRegionSample, JfrProfileRecorder$Counter>
readChunks
field_49070
chunkRegionReadCounter
private final Map<ChunkRegionSample, JfrProfileRecorder$Counter>
writtenChunks
field_49071
chunkRegionWriteCounter
private final List<FileIoSample>
fileWrites
field_34428
fileWriteSamples
private final List<FileIoSample>
fileReads
field_34429
fileReadSamples
private int
garbageCollections
field_34430
gcCount
private Duration
gcTotalDuration
field_34431
gcDuration
private final List<GcHeapSummarySample>
gcHeapStats
field_34432
gcHeapSummarySamples
private final List<ThreadAllocationStatisticsSample>
threadAllocationStats
field_34433
threadAllocationStatisticsSamples
private final List<ClientFpsSample>
fps
field_63282
clientFpsSamples
private final List<ServerTickTimeSample>
serverTickTimes
field_34434
serverTickTimeSamples
private Duration
worldCreationDuration
field_34435
worldGenDuration

Constructor summary

ModifierConstructor
private (Stream<RecordedEvent> events)

Method summary

Modifier and TypeMethod
public static JfrProfile
parse(Path path)
method_38001(Path arg0)
readProfile(Path path)
private JfrProfile
results()
method_38000()
createProfile()
private void
capture(Stream<RecordedEvent> events)
method_38002(Stream<RecordedEvent> arg0)
handleEvents(Stream<RecordedEvent> events)
private void
incrementPacket(RecordedEvent event, int packetSize, Map<PacketIdentification, JfrStatsParser$MutableCountAndSize> packets)
method_39435(RecordedEvent arg0, int arg1, Map<class_6769, class_6516$class_6766> arg2)
addPacket(RecordedEvent event, int bytes, Map<PacketSample, JfrProfileRecorder$Counter> packetsToCounter)
private void
incrementChunk(RecordedEvent event, int chunkSize, Map<ChunkIdentification, JfrStatsParser$MutableCountAndSize> packets)
method_56982(RecordedEvent arg0, int arg1, Map<class_9234, class_6516$class_6766> arg2)
addChunkRegionEvent(RecordedEvent event, int bytes, Map<ChunkRegionSample, JfrProfileRecorder$Counter> chunksToCounter)
private void
appendFileIO(RecordedEvent event, List<FileIOStat> stats, String sizeField)
method_38004(RecordedEvent arg0, List<class_6523> arg1, String arg2)
addFileIoSample(RecordedEvent event, List<FileIoSample> samples, String bytesKey)
private static <T> NetworkIoStatistics<T>
collectIoStats(Duration recordingDuration, Map<T, JfrStatsParser$MutableCountAndSize> packetStats)
method_39433(Duration arg0, Map<T, class_6516$class_6766> arg1)
createNetworkIoStatistics(Duration duration, Map<T, JfrProfileRecorder$Counter> packetsToCounter)
private static com.mojang.datafixers.util.Pair
lambda$collectIoStats$3(Map$Entry arg0)
method_39434(Map$Entry arg0)
method_39434(Map$Entry entry)
private static JfrProfileRecorder$Counter
lambda$incrementChunk$2(ChunkIdentification arg0)
method_56981(class_9234 arg0)
method_56981(ChunkRegionSample chunk)
private static JfrProfileRecorder$Counter
lambda$incrementPacket$1(PacketIdentification arg0)
method_39432(class_6769 arg0)
method_39432(PacketSample packet)
private void
lambda$capture$0(RecordedEvent arg0)
method_38003(RecordedEvent arg0)
method_38003(RecordedEvent event)