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_333492_, Map<T, JfrStatsParser.MutableCountAndSize> p_336276_) private void
incrementChunk
(RecordedEvent p_329550_, int p_328110_, Map<ChunkIdentification, JfrStatsParser.MutableCountAndSize> p_329507_) 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_329550_, int p_328110_, Map<ChunkIdentification, JfrStatsParser.MutableCountAndSize> p_329507_) -
appendFileIO
-
collectIoStats
private static <T> IoSummary<T> collectIoStats(Duration p_333492_, Map<T, JfrStatsParser.MutableCountAndSize> p_336276_)
-