Class TimeRecorder

java.lang.Object
net.minecraft.client.util.telemetry.TimeRecorder

@Environment(CLIENT) public class TimeRecorder extends Object
Mappings:
Namespace Name
official fza
intermediary net/minecraft/class_8561
named net/minecraft/client/util/telemetry/TimeRecorder
  • Field Details

    • INSTANCE

      public static final TimeRecorder INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Lfza;a:Lfza;
      intermediary field_44842 Lnet/minecraft/class_8561;field_44842:Lnet/minecraft/class_8561;
      named INSTANCE Lnet/minecraft/client/util/telemetry/TimeRecorder;INSTANCE:Lnet/minecraft/client/util/telemetry/TimeRecorder;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lfza;b:Lorg/slf4j/Logger;
      intermediary field_44843 Lnet/minecraft/class_8561;field_44843:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/util/telemetry/TimeRecorder;LOGGER:Lorg/slf4j/Logger;
    • ticker

      private final Ticker ticker
      Mappings:
      Namespace Name Mixin selector
      official c Lfza;c:Lcom/google/common/base/Ticker;
      intermediary field_44844 Lnet/minecraft/class_8561;field_44844:Lcom/google/common/base/Ticker;
      named ticker Lnet/minecraft/client/util/telemetry/TimeRecorder;ticker:Lcom/google/common/base/Ticker;
    • steps

      Mappings:
      Namespace Name Mixin selector
      official d Lfza;d:Ljava/util/Map;
      intermediary field_44845 Lnet/minecraft/class_8561;field_44845:Ljava/util/Map;
      named steps Lnet/minecraft/client/util/telemetry/TimeRecorder;steps:Ljava/util/Map;
    • bootstrapLoadTime

      private OptionalLong bootstrapLoadTime
      Mappings:
      Namespace Name Mixin selector
      official e Lfza;e:Ljava/util/OptionalLong;
      intermediary field_44846 Lnet/minecraft/class_8561;field_44846:Ljava/util/OptionalLong;
      named bootstrapLoadTime Lnet/minecraft/client/util/telemetry/TimeRecorder;bootstrapLoadTime:Ljava/util/OptionalLong;
  • Constructor Details

    • TimeRecorder

      protected TimeRecorder(Ticker ticker)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfza;<init>(Lcom/google/common/base/Ticker;)V
      intermediary <init> Lnet/minecraft/class_8561;<init>(Lcom/google/common/base/Ticker;)V
      named <init> Lnet/minecraft/client/util/telemetry/TimeRecorder;<init>(Lcom/google/common/base/Ticker;)V
  • Method Details

    • start

      public void start(TelemetryEventProperty<TimeRecorder.Measurement> property)
      Mappings:
      Namespace Name Mixin selector
      official a Lfza;a(Lfyw;)V
      intermediary method_51806 Lnet/minecraft/class_8561;method_51806(Lnet/minecraft/class_7969;)V
      named start Lnet/minecraft/client/util/telemetry/TimeRecorder;start(Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;)V
    • start

      public void start(TelemetryEventProperty<TimeRecorder.Measurement> property, Stopwatch stopWatch)
      Mappings:
      Namespace Name Mixin selector
      official a Lfza;a(Lfyw;Lcom/google/common/base/Stopwatch;)V
      intermediary method_51807 Lnet/minecraft/class_8561;method_51807(Lnet/minecraft/class_7969;Lcom/google/common/base/Stopwatch;)V
      named start Lnet/minecraft/client/util/telemetry/TimeRecorder;start(Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;Lcom/google/common/base/Stopwatch;)V
    • addStep

      Mappings:
      Namespace Name Mixin selector
      official a Lfza;a(Lfyw;Ljava/util/function/Function;)V
      intermediary method_51808 Lnet/minecraft/class_8561;method_51808(Lnet/minecraft/class_7969;Ljava/util/function/Function;)V
      named addStep Lnet/minecraft/client/util/telemetry/TimeRecorder;addStep(Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;Ljava/util/function/Function;)V
    • end

      public void end(TelemetryEventProperty<TimeRecorder.Measurement> property)
      Mappings:
      Namespace Name Mixin selector
      official b Lfza;b(Lfyw;)V
      intermediary method_51812 Lnet/minecraft/class_8561;method_51812(Lnet/minecraft/class_7969;)V
      named end Lnet/minecraft/client/util/telemetry/TimeRecorder;end(Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;)V
    • collect

      public void collect(TelemetrySender sender)
      Mappings:
      Namespace Name Mixin selector
      official a Lfza;a(Lfyt;)V
      intermediary method_51805 Lnet/minecraft/class_8561;method_51805(Lnet/minecraft/class_7965;)V
      named collect Lnet/minecraft/client/util/telemetry/TimeRecorder;collect(Lnet/minecraft/client/util/telemetry/TelemetrySender;)V
    • setBootstrapLoadTime

      public void setBootstrapLoadTime(long time)
      Mappings:
      Namespace Name Mixin selector
      official a Lfza;a(J)V
      intermediary method_51803 Lnet/minecraft/class_8561;method_51803(J)V
      named setBootstrapLoadTime Lnet/minecraft/client/util/telemetry/TimeRecorder;setBootstrapLoadTime(J)V