Uses of Record Class
net.minecraft.util.profiling.jfr.sample.PacketSample
-
Uses of PacketSample in net.minecraft.util.profiling.jfr
Modifier and TypeFieldDescriptionprivate final NetworkIoStatistics
<PacketSample> JfrProfile.packetReadStatistics
The field for thepacketReadStatistics
record component.private final NetworkIoStatistics
<PacketSample> JfrProfile.packetSentStatistics
The field for thepacketSentStatistics
record component.private final Map
<PacketSample, JfrProfileRecorder.Counter> JfrProfileRecorder.receivedPacketsToCounter
private final Map
<PacketSample, JfrProfileRecorder.Counter> JfrProfileRecorder.sentPacketsToCounter
Modifier and TypeMethodDescriptionJfrProfile.packetReadStatistics()
Returns the value of thepacketReadStatistics
record component.JfrProfile.packetSentStatistics()
Returns the value of thepacketSentStatistics
record component.Modifier and TypeMethodDescriptionprivate static void
JfrJsonReport.addPacketData
(PacketSample packet, JsonObject json) Modifier and TypeMethodDescriptionprivate void
JfrProfileRecorder.addPacket
(RecordedEvent event, int bytes, Map<PacketSample, JfrProfileRecorder.Counter> packetsToCounter) ModifierConstructorDescriptionJfrProfile
(Instant instant, Instant instant2, Duration duration, @Nullable Duration duration2, List<ServerTickTimeSample> list, List<CpuLoadSample> list2, GcHeapSummarySample.Statistics statistics, ThreadAllocationStatisticsSample.AllocationMap allocationMap, NetworkIoStatistics<PacketSample> networkIoStatistics, NetworkIoStatistics<PacketSample> networkIoStatistics2, NetworkIoStatistics<ChunkRegionSample> networkIoStatistics3, NetworkIoStatistics<ChunkRegionSample> networkIoStatistics4, FileIoSample.Statistics statistics2, FileIoSample.Statistics statistics3, List<ChunkGenerationSample> list3) -
Uses of PacketSample in net.minecraft.util.profiling.jfr.sample
Modifier and TypeMethodDescriptionstatic PacketSample
PacketSample.fromEvent
(RecordedEvent event)