Class NetworkIoStatistics
java.lang.Object
net.minecraft.util.profiling.jfr.sample.NetworkIoStatistics
- Mappings:
Namespace Name official bem
intermediary net/minecraft/class_6767
named net/minecraft/util/profiling/jfr/sample/NetworkIoStatistics
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NetworkIoStatistics.PacketStatistics
private final Duration
private final List<com.mojang.datafixers.util.Pair<NetworkIoStatistics.Packet,
NetworkIoStatistics.PacketStatistics>> -
Constructor Summary
ConstructorDescriptionNetworkIoStatistics
(Duration duration, List<com.mojang.datafixers.util.Pair<NetworkIoStatistics.Packet, NetworkIoStatistics.PacketStatistics>> packetsToStatistics) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
List<com.mojang.datafixers.util.Pair<NetworkIoStatistics.Packet,
NetworkIoStatistics.PacketStatistics>> long
long
-
Field Details
-
combinedStatistics
- Mappings:
Namespace Name Mixin selector official a
Lbem;a:Lbem$a;
intermediary field_35583
Lnet/minecraft/class_6767;field_35583:Lnet/minecraft/class_6767$class_6768;
named combinedStatistics
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;combinedStatistics:Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics$PacketStatistics;
-
topContributors
private final List<com.mojang.datafixers.util.Pair<NetworkIoStatistics.Packet,NetworkIoStatistics.PacketStatistics>> topContributors- Mappings:
Namespace Name Mixin selector official b
Lbem;b:Ljava/util/List;
intermediary field_35584
Lnet/minecraft/class_6767;field_35584:Ljava/util/List;
named topContributors
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;topContributors:Ljava/util/List;
-
duration
- Mappings:
Namespace Name Mixin selector official c
Lbem;c:Ljava/time/Duration;
intermediary field_35585
Lnet/minecraft/class_6767;field_35585:Ljava/time/Duration;
named duration
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;duration:Ljava/time/Duration;
-
-
Constructor Details
-
NetworkIoStatistics
public NetworkIoStatistics(Duration duration, List<com.mojang.datafixers.util.Pair<NetworkIoStatistics.Packet, NetworkIoStatistics.PacketStatistics>> packetsToStatistics) - Mappings:
Namespace Name Mixin selector official <init>
Lbem;<init>(Ljava/time/Duration;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_6767;<init>(Ljava/time/Duration;Ljava/util/List;)V
named <init>
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;<init>(Ljava/time/Duration;Ljava/util/List;)V
-
-
Method Details
-
getCountPerSecond
public double getCountPerSecond()- Mappings:
Namespace Name Mixin selector official a
Lbem;a()D
intermediary method_39438
Lnet/minecraft/class_6767;method_39438()D
named getCountPerSecond
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getCountPerSecond()D
-
getBytesPerSecond
public double getBytesPerSecond()- Mappings:
Namespace Name Mixin selector official b
Lbem;b()D
intermediary method_39439
Lnet/minecraft/class_6767;method_39439()D
named getBytesPerSecond
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getBytesPerSecond()D
-
getTotalCount
public long getTotalCount()- Mappings:
Namespace Name Mixin selector official c
Lbem;c()J
intermediary method_39440
Lnet/minecraft/class_6767;method_39440()J
named getTotalCount
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getTotalCount()J
-
getTotalSize
public long getTotalSize()- Mappings:
Namespace Name Mixin selector official d
Lbem;d()J
intermediary method_39441
Lnet/minecraft/class_6767;method_39441()J
named getTotalSize
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getTotalSize()J
-
getTopContributors
public List<com.mojang.datafixers.util.Pair<NetworkIoStatistics.Packet,NetworkIoStatistics.PacketStatistics>> getTopContributors()- Mappings:
Namespace Name Mixin selector official e
Lbem;e()Ljava/util/List;
intermediary method_39442
Lnet/minecraft/class_6767;method_39442()Ljava/util/List;
named getTopContributors
Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getTopContributors()Ljava/util/List;
-