Class JfrStatsParser
java.lang.Object
net.minecraft.util.profiling.jfr.parse.JfrStatsParser
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ChunkGenStat> private final List<CpuLoadStat> private final List<FileIOStat> private final List<FileIOStat> private intprivate final List<GcHeapStat> private Durationprivate final Map<ChunkIdentification, JfrStatsParser.MutableCountAndSize> private final Map<PacketIdentification, JfrStatsParser.MutableCountAndSize> private Instantprivate Instantprivate final Map<PacketIdentification, JfrStatsParser.MutableCountAndSize> private final List<ThreadAllocationStat> private final List<TickTimeStat> private Durationprivate final Map<ChunkIdentification, JfrStatsParser.MutableCountAndSize> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidappendFileIO(RecordedEvent pEvent, List<FileIOStat> pStats, String pId) private voidcapture(Stream<RecordedEvent> pEvents) private static <T> IoSummary<T> collectIoStats(Duration pRecordingDuration, Map<T, JfrStatsParser.MutableCountAndSize> pEntries) private voidincrementChunk(RecordedEvent pEvent, int pIncrement, Map<ChunkIdentification, JfrStatsParser.MutableCountAndSize> pChunks) private voidincrementPacket(RecordedEvent pEvent, int pIncrement, Map<PacketIdentification, JfrStatsParser.MutableCountAndSize> pPackets) static JfrStatsResultprivate JfrStatsResultresults()
-
Field Details
-
recordingStarted
-
recordingEnded
-
chunkGenStats
-
cpuLoadStat
-
receivedPackets
-
sentPackets
-
readChunks
-
writtenChunks
-
fileWrites
-
fileReads
-
garbageCollections
private int garbageCollections -
gcTotalDuration
-
gcHeapStats
-
threadAllocationStats
-
tickTimes
-
worldCreationDuration
-
-
Constructor Details
-
JfrStatsParser
-
-
Method Details
-
parse
-
results
-
capture
-
incrementPacket
private void incrementPacket(RecordedEvent pEvent, int pIncrement, Map<PacketIdentification, JfrStatsParser.MutableCountAndSize> pPackets) -
incrementChunk
private void incrementChunk(RecordedEvent pEvent, int pIncrement, Map<ChunkIdentification, JfrStatsParser.MutableCountAndSize> pChunks) -
appendFileIO
-
collectIoStats
private static <T> IoSummary<T> collectIoStats(Duration pRecordingDuration, Map<T, JfrStatsParser.MutableCountAndSize> pEntries)
-