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 guz
  • 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 Lguz;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 Lguz;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 Lguz;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 Lguz;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 Lgux;a(Lgur;)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 Lguz;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 Lgux;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 Lguz;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 Lgux;b(Lgur;)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 Lguz;a(J)J