Uses of Record Class
net.minecraft.util.profiling.jfr.sample.PacketSample
Packages that use PacketSample
-
Uses of PacketSample in net.minecraft.util.profiling.jfr
Fields in net.minecraft.util.profiling.jfr with type parameters of type PacketSampleModifier 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
Methods in net.minecraft.util.profiling.jfr that return types with arguments of type PacketSampleModifier and TypeMethodDescriptionJfrProfile.packetReadStatistics()
Returns the value of thepacketReadStatistics
record component.JfrProfile.packetSentStatistics()
Returns the value of thepacketSentStatistics
record component.Methods in net.minecraft.util.profiling.jfr with parameters of type PacketSampleModifier and TypeMethodDescriptionprivate static void
JfrJsonReport.addPacketData
(PacketSample packet, JsonObject json) Method parameters in net.minecraft.util.profiling.jfr with type arguments of type PacketSampleModifier and TypeMethodDescriptionprivate void
JfrProfileRecorder.addPacket
(RecordedEvent event, int bytes, Map<PacketSample, JfrProfileRecorder.Counter> packetsToCounter) Constructor parameters in net.minecraft.util.profiling.jfr with type arguments of type PacketSampleModifierConstructorDescriptionJfrProfile
(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, List<StructureGenerationSample> list4) -
Uses of PacketSample in net.minecraft.util.profiling.jfr.sample
Methods in net.minecraft.util.profiling.jfr.sample that return PacketSampleModifier and TypeMethodDescriptionstatic PacketSample
PacketSample.fromEvent
(RecordedEvent event)