Class GameLoadTimesEvent
java.lang.Object
net.minecraft.client.telemetry.events.GameLoadTimesEvent
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate OptionalLong
static final GameLoadTimesEvent
private static final org.slf4j.Logger
private final Map<TelemetryProperty<GameLoadTimesEvent.Measurement>,
com.google.common.base.Stopwatch> private final com.google.common.base.Ticker
-
Constructor Summary
ModifierConstructorDescriptionprotected
GameLoadTimesEvent
(com.google.common.base.Ticker p_286506_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
beginStep
(TelemetryProperty<GameLoadTimesEvent.Measurement> p_286394_) void
beginStep
(TelemetryProperty<GameLoadTimesEvent.Measurement> p_286396_, com.google.common.base.Stopwatch p_286822_) private void
beginStep
(TelemetryProperty<GameLoadTimesEvent.Measurement> p_286311_, Function<TelemetryProperty<GameLoadTimesEvent.Measurement>, com.google.common.base.Stopwatch> p_286454_) void
endStep
(TelemetryProperty<GameLoadTimesEvent.Measurement> p_286634_) void
send
(TelemetryEventSender p_286524_) void
setBootstrapTime
(long p_286847_)
-
Field Details
-
INSTANCE
-
LOGGER
private static final org.slf4j.Logger LOGGER -
timeSource
private final com.google.common.base.Ticker timeSource -
measurements
private final Map<TelemetryProperty<GameLoadTimesEvent.Measurement>,com.google.common.base.Stopwatch> measurements -
bootstrapTime
-
-
Constructor Details
-
GameLoadTimesEvent
protected GameLoadTimesEvent(com.google.common.base.Ticker p_286506_)
-
-
Method Details
-
beginStep
-
beginStep
public void beginStep(TelemetryProperty<GameLoadTimesEvent.Measurement> p_286396_, com.google.common.base.Stopwatch p_286822_) -
beginStep
private void beginStep(TelemetryProperty<GameLoadTimesEvent.Measurement> p_286311_, Function<TelemetryProperty<GameLoadTimesEvent.Measurement>, com.google.common.base.Stopwatch> p_286454_) -
endStep
-
send
-
setBootstrapTime
public void setBootstrapTime(long p_286847_)
-