Class JfrProfileRecorder.PacketCounter

java.lang.Object
net.minecraft.util.profiling.jfr.JfrProfileRecorder.PacketCounter
Enclosing class:
JfrProfileRecorder

public static final class JfrProfileRecorder.PacketCounter extends Object
Mappings:
Namespace Name
official bbc$a
intermediary net/minecraft/class_6516$class_6766
named net/minecraft/util/profiling/jfr/JfrProfileRecorder$PacketCounter
  • Field Details

    • totalCount

      private long totalCount
      Mappings:
      Namespace Name Mixin selector
      official a Lbbc$a;a:J
      intermediary field_35581 Lnet/minecraft/class_6516$class_6766;field_35581:J
      named totalCount Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder$PacketCounter;totalCount:J
    • totalBytes

      private long totalBytes
      Mappings:
      Namespace Name Mixin selector
      official b Lbbc$a;b:J
      intermediary field_35582 Lnet/minecraft/class_6516$class_6766;field_35582:J
      named totalBytes Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder$PacketCounter;totalBytes:J
  • Constructor Details

    • PacketCounter

      public PacketCounter()
  • Method Details

    • add

      public void add(int bytes)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbc$a;a(I)V
      intermediary method_39437 Lnet/minecraft/class_6516$class_6766;method_39437(I)V
      named add Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder$PacketCounter;add(I)V
    • toStatistics

      public NetworkIoStatistics.PacketStatistics toStatistics()
      Mappings:
      Namespace Name Mixin selector
      official a Lbbc$a;a()Lbbl$a;
      intermediary method_39436 Lnet/minecraft/class_6516$class_6766;method_39436()Lnet/minecraft/class_6767$class_6768;
      named toStatistics Lnet/minecraft/util/profiling/jfr/JfrProfileRecorder$PacketCounter;toStatistics()Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics$PacketStatistics;