net.minecraft.util.profiling.jfr.stats

public final class NetworkPacketSummary

bhp
net.minecraft.util.profiling.jfr.stats.NetworkPacketSummary
net.minecraft.class_6767
net.minecraft.util.profiling.jfr.sample.NetworkIoStatistics
net.minecraft.src.C_182832_
net.minecraft.util.profiling.jfr.stats.NetworkPacketSummary

Field summary

Modifier and TypeField
private final NetworkPacketSummary$PacketCountAndSize
a
totalPacketCountAndSize
field_35583
combinedStatistics
f_185734_
private final List<com.mojang.datafixers.util.Pair<NetworkPacketSummary$PacketIdentification, NetworkPacketSummary$PacketCountAndSize>>
b
largestSizeContributors
field_35584
topContributors
f_185735_
private final Duration
c
recordingDuration
field_35585
duration
f_185736_

Constructor summary

ModifierConstructor
public (Duration duration, List<com.mojang.datafixers.util.Pair<NetworkPacketSummary$PacketIdentification, NetworkPacketSummary$PacketCountAndSize>> packetsToStatistics)

Method summary

Modifier and TypeMethod
public double
a()
getCountsPerSecond()
method_39438()
getCountPerSecond()
m_185740_()
public double
b()
getSizePerSecond()
method_39439()
getBytesPerSecond()
m_185741_()
public long
c()
getTotalCount()
method_39440()
getTotalCount()
m_185742_()
public long
d()
getTotalSize()
method_39441()
getTotalSize()
m_185743_()
public List<com.mojang.datafixers.util.Pair<NetworkPacketSummary$PacketIdentification, NetworkPacketSummary$PacketCountAndSize>>
e()
largestSizeContributors()
method_39442()
getTopContributors()
m_185744_()