Class JfrStatsParser
java.lang.Object
net.minecraft.util.profiling.jfr.parse.JfrStatsParser
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ChunkGenStat>
private final List<CpuLoadStat>
private final List<FileIOStat>
private final List<FileIOStat>
private int
private final List<GcHeapStat>
private Duration
private Instant
private Instant
private final List<ThreadAllocationStat>
private final List<TickTimeStat>
private Duration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
appendFileIO
(RecordedEvent p_185463_, List<FileIOStat> p_185464_, String p_185465_) private void
capture
(Stream<RecordedEvent> p_185455_) private static NetworkPacketSummary
collectPacketStats
(Duration p_185450_, Map<NetworkPacketSummary.PacketIdentification, JfrStatsParser.MutableCountAndSize> p_185451_) private void
incrementPacket
(RecordedEvent p_185459_, int p_185460_, Map<NetworkPacketSummary.PacketIdentification, JfrStatsParser.MutableCountAndSize> p_185461_) static JfrStatsResult
private JfrStatsResult
results()
-
Field Details
-
recordingStarted
-
recordingEnded
-
chunkGenStats
-
cpuLoadStat
-
receivedPackets
private final Map<NetworkPacketSummary.PacketIdentification,JfrStatsParser.MutableCountAndSize> receivedPackets -
sentPackets
private final Map<NetworkPacketSummary.PacketIdentification,JfrStatsParser.MutableCountAndSize> sentPackets -
fileWrites
-
fileReads
-
garbageCollections
private int garbageCollections -
gcTotalDuration
-
gcHeapStats
-
threadAllocationStats
-
tickTimes
-
worldCreationDuration
-
-
Constructor Details
-
JfrStatsParser
-
-
Method Details
-
parse
-
results
-
capture
-
incrementPacket
private void incrementPacket(RecordedEvent p_185459_, int p_185460_, Map<NetworkPacketSummary.PacketIdentification, JfrStatsParser.MutableCountAndSize> p_185461_) -
appendFileIO
-
collectPacketStats
private static NetworkPacketSummary collectPacketStats(Duration p_185450_, Map<NetworkPacketSummary.PacketIdentification, JfrStatsParser.MutableCountAndSize> p_185451_)
-