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
official geg
intermediary net/minecraft/class_7977
named net/minecraft/client/session/telemetry/PerformanceMetricsEvent
  • Field Details

    • MAX_MEMORY_KB

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

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

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

      private final LongList usedMemorySamples
      Mappings:
      Namespace Name Mixin selector
      official d Lgeg;d:Lit/unimi/dsi/fastutil/longs/LongList;
      intermediary field_41513 Lnet/minecraft/class_7977;field_41513:Lit/unimi/dsi/fastutil/longs/LongList;
      named usedMemorySamples Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;usedMemorySamples: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
      official a Lgee;a(Lgdy;)V
      intermediary method_47778 Lnet/minecraft/class_7976;method_47778(Lnet/minecraft/class_7965;)V
      named tick Lnet/minecraft/client/session/telemetry/SampleEvent;tick(Lnet/minecraft/client/session/telemetry/TelemetrySender;)V
    • clearSamples

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

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

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

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

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