Class PerformanceMetricsEvent

java.lang.Object
net.minecraft.client.session.telemetry.SampleEvent
net.minecraft.client.session.telemetry.PerformanceMetricsEvent

@Environment(CLIENT) public final class PerformanceMetricsEvent extends SampleEvent
Mappings:
Namespace Name
named net/minecraft/client/session/telemetry/PerformanceMetricsEvent
intermediary net/minecraft/class_7977
official hhc
  • Field Details

    • MAX_MEMORY_KB

      private static final long MAX_MEMORY_KB
      Mappings:
      Namespace Name Mixin selector
      named MAX_MEMORY_KB Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;MAX_MEMORY_KB:J
      intermediary field_41510 Lnet/minecraft/class_7977;field_41510:J
      official a Lhhc;a:J
    • frameRateSamples

      private final LongList frameRateSamples
      Mappings:
      Namespace Name Mixin selector
      named frameRateSamples Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;frameRateSamples:Lit/unimi/dsi/fastutil/longs/LongList;
      intermediary field_41511 Lnet/minecraft/class_7977;field_41511:Lit/unimi/dsi/fastutil/longs/LongList;
      official b Lhhc;b:Lit/unimi/dsi/fastutil/longs/LongList;
    • renderTimeSamples

      private final LongList renderTimeSamples
      Mappings:
      Namespace Name Mixin selector
      named renderTimeSamples Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;renderTimeSamples:Lit/unimi/dsi/fastutil/longs/LongList;
      intermediary field_41512 Lnet/minecraft/class_7977;field_41512:Lit/unimi/dsi/fastutil/longs/LongList;
      official c Lhhc;c:Lit/unimi/dsi/fastutil/longs/LongList;
    • usedMemorySamples

      private final LongList usedMemorySamples
      Mappings:
      Namespace Name Mixin selector
      named usedMemorySamples Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;usedMemorySamples:Lit/unimi/dsi/fastutil/longs/LongList;
      intermediary field_41513 Lnet/minecraft/class_7977;field_41513:Lit/unimi/dsi/fastutil/longs/LongList;
      official d Lhhc;d:Lit/unimi/dsi/fastutil/longs/LongList;
  • Constructor Details

    • PerformanceMetricsEvent

      public PerformanceMetricsEvent()
  • Method Details

    • tick

      public void tick(TelemetrySender sender)
      Overrides:
      tick in class SampleEvent
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/session/telemetry/SampleEvent;tick(Lnet/minecraft/client/session/telemetry/TelemetrySender;)V
      intermediary method_47778 Lnet/minecraft/class_7976;method_47778(Lnet/minecraft/class_7965;)V
      official a Lhha;a(Lhgu;)V
    • clearSamples

      private void clearSamples()
      Mappings:
      Namespace Name Mixin selector
      named clearSamples Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;clearSamples()V
      intermediary method_47788 Lnet/minecraft/class_7977;method_47788()V
      official g Lhhc;g()V
    • sample

      public void sample()
      Specified by:
      sample in class SampleEvent
      Mappings:
      Namespace Name Mixin selector
      named sample Lnet/minecraft/client/session/telemetry/SampleEvent;sample()V
      intermediary method_47783 Lnet/minecraft/class_7976;method_47783()V
      official f Lhha;f()V
    • sampleUsedMemory

      private void sampleUsedMemory()
      Mappings:
      Namespace Name Mixin selector
      named sampleUsedMemory Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;sampleUsedMemory()V
      intermediary method_47789 Lnet/minecraft/class_7977;method_47789()V
      official h Lhhc;h()V
    • send

      public void send(TelemetrySender sender)
      Specified by:
      send in class SampleEvent
      Mappings:
      Namespace Name Mixin selector
      named send Lnet/minecraft/client/session/telemetry/SampleEvent;send(Lnet/minecraft/client/session/telemetry/TelemetrySender;)V
      intermediary method_47784 Lnet/minecraft/class_7976;method_47784(Lnet/minecraft/class_7965;)V
      official b Lhha;b(Lhgu;)V
    • toKilos

      private static long toKilos(long bytes)
      Mappings:
      Namespace Name Mixin selector
      named toKilos Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;toKilos(J)J
      intermediary method_47785 Lnet/minecraft/class_7977;method_47785(J)J
      official a Lhhc;a(J)J