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 final Map
<ChunkIdentification, JfrStatsParser.MutableCountAndSize> private final Map
<PacketIdentification, JfrStatsParser.MutableCountAndSize> private Instant
private Instant
private final Map
<PacketIdentification, JfrStatsParser.MutableCountAndSize> private final List
<ThreadAllocationStat> private final List
<TickTimeStat> private Duration
private final Map
<ChunkIdentification, JfrStatsParser.MutableCountAndSize> -
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 <T> IoSummary
<T> collectIoStats
(Duration p_325942_, Map<T, JfrStatsParser.MutableCountAndSize> p_325951_) private void
incrementChunk
(RecordedEvent p_326116_, int p_326437_, Map<ChunkIdentification, JfrStatsParser.MutableCountAndSize> p_326416_) private void
incrementPacket
(RecordedEvent p_185459_, int p_185460_, Map<PacketIdentification, JfrStatsParser.MutableCountAndSize> p_185461_) static JfrStatsResult
private JfrStatsResult
results()
-
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 p_185459_, int p_185460_, Map<PacketIdentification, JfrStatsParser.MutableCountAndSize> p_185461_) -
incrementChunk
private void incrementChunk(RecordedEvent p_326116_, int p_326437_, Map<ChunkIdentification, JfrStatsParser.MutableCountAndSize> p_326416_) -
appendFileIO
-
collectIoStats
private static <T> IoSummary<T> collectIoStats(Duration p_325942_, Map<T, JfrStatsParser.MutableCountAndSize> p_325951_)
-