Class PerformanceMetricsEvent

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

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

    • MAX_MEMORY_KB

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

      private final LongList frameRateSamples
      Mappings:
      Namespace Name Mixin selector
      official b Lfzb;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/util/telemetry/PerformanceMetricsEvent;frameRateSamples:Lit/unimi/dsi/fastutil/longs/LongList;
    • renderTimeSamples

      private final LongList renderTimeSamples
      Mappings:
      Namespace Name Mixin selector
      official c Lfzb;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/util/telemetry/PerformanceMetricsEvent;renderTimeSamples:Lit/unimi/dsi/fastutil/longs/LongList;
    • usedMemorySamples

      private final LongList usedMemorySamples
      Mappings:
      Namespace Name Mixin selector
      official d Lfzb;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/util/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 Lfyz;a(Lfyt;)V
      intermediary method_47778 Lnet/minecraft/class_7976;method_47778(Lnet/minecraft/class_7965;)V
      named tick Lnet/minecraft/client/util/telemetry/SampleEvent;tick(Lnet/minecraft/client/util/telemetry/TelemetrySender;)V
    • clearSamples

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

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

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

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

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