Uses of Record Class
net.minecraft.util.profiling.jfr.sample.PacketSample.Statistics
Packages that use PacketSample.Statistics
-
Uses of PacketSample.Statistics in net.minecraft.util.profiling.jfr
Fields in net.minecraft.util.profiling.jfr declared as PacketSample.StatisticsModifier and TypeFieldDescriptionprivate final PacketSample.Statistics
JfrProfile.packetReadStatistics
The field for thepacketReadStatistics
record component.private final PacketSample.Statistics
JfrProfile.packetSentStatistics
The field for thepacketSentStatistics
record component.Methods in net.minecraft.util.profiling.jfr that return PacketSample.StatisticsModifier 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 PacketSample.StatisticsModifier and TypeMethodDescriptionprivate JsonElement
JfrJsonReport.collectPacketSection
(PacketSample.Statistics statistics) Constructors in net.minecraft.util.profiling.jfr with parameters of type PacketSample.StatisticsModifierConstructorDescriptionJfrProfile
(Instant instant, Instant instant2, Duration duration, @Nullable Duration duration2, List<ServerTickTimeSample> list, List<CpuLoadSample> list2, GcHeapSummarySample.Statistics statistics, ThreadAllocationStatisticsSample.AllocationMap allocationMap, PacketSample.Statistics statistics2, PacketSample.Statistics statistics3, FileIoSample.Statistics statistics4, FileIoSample.Statistics statistics5, List<ChunkGenerationSample> list3) -
Uses of PacketSample.Statistics in net.minecraft.util.profiling.jfr.sample
Methods in net.minecraft.util.profiling.jfr.sample that return PacketSample.StatisticsModifier and TypeMethodDescriptionstatic PacketSample.Statistics
PacketSample.toStatistics
(Duration duration, List<PacketSample> samples)