Package net.minecraft.util
Class TickDurationMonitor
java.lang.Object
net.minecraft.util.TickDurationMonitor
public class TickDurationMonitor extends Object
- Mappings:
Namespace Name official aov
intermediary net/minecraft/class_4758
named net/minecraft/util/TickDurationMonitor
-
Field Summary
Fields Modifier and Type Field Description private static Logger
LOGGER
private long
overtime
private ReadableProfiler
profiler
private int
tickCount
private File
tickResultsDirectory
private LongSupplier
timeGetter
-
Constructor Summary
Constructors Constructor Description TickDurationMonitor()
-
Method Summary
Modifier and Type Method Description static TickDurationMonitor
create(String name)
void
endTick()
Profiler
nextProfiler()
static Profiler
tickProfiler(Profiler profiler, TickDurationMonitor monitor)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Laov;a:Lorg/apache/logging/log4j/Logger;
intermediary field_21967
Lnet/minecraft/class_4758;field_21967:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/util/TickDurationMonitor;LOGGER:Lorg/apache/logging/log4j/Logger;
-
timeGetter
- Mappings:
Namespace Name Mixin selector official b
Laov;b:Ljava/util/function/LongSupplier;
intermediary field_21968
Lnet/minecraft/class_4758;field_21968:Ljava/util/function/LongSupplier;
named timeGetter
Lnet/minecraft/util/TickDurationMonitor;timeGetter:Ljava/util/function/LongSupplier;
-
overtime
private final long overtime- Mappings:
Namespace Name Mixin selector official c
Laov;c:J
intermediary field_21969
Lnet/minecraft/class_4758;field_21969:J
named overtime
Lnet/minecraft/util/TickDurationMonitor;overtime:J
-
tickCount
private int tickCount- Mappings:
Namespace Name Mixin selector official d
Laov;d:I
intermediary field_21970
Lnet/minecraft/class_4758;field_21970:I
named tickCount
Lnet/minecraft/util/TickDurationMonitor;tickCount:I
-
tickResultsDirectory
- Mappings:
Namespace Name Mixin selector official e
Laov;e:Ljava/io/File;
intermediary field_21971
Lnet/minecraft/class_4758;field_21971:Ljava/io/File;
named tickResultsDirectory
Lnet/minecraft/util/TickDurationMonitor;tickResultsDirectory:Ljava/io/File;
-
profiler
- Mappings:
Namespace Name Mixin selector official f
Laov;f:Laoq;
intermediary field_21972
Lnet/minecraft/class_4758;field_21972:Lnet/minecraft/class_3693;
named profiler
Lnet/minecraft/util/TickDurationMonitor;profiler:Lnet/minecraft/util/profiler/ReadableProfiler;
-
-
Constructor Details
-
TickDurationMonitor
public TickDurationMonitor()
-
-
Method Details
-
nextProfiler
- Mappings:
Namespace Name Mixin selector official a
Laov;a()Laos;
intermediary method_24339
Lnet/minecraft/class_4758;method_24339()Lnet/minecraft/class_3695;
named nextProfiler
Lnet/minecraft/util/TickDurationMonitor;nextProfiler()Lnet/minecraft/util/profiler/Profiler;
-
endTick
public void endTick()- Mappings:
Namespace Name Mixin selector official b
Laov;b()V
intermediary method_24342
Lnet/minecraft/class_4758;method_24342()V
named endTick
Lnet/minecraft/util/TickDurationMonitor;endTick()V
-
create
- Mappings:
Namespace Name Mixin selector official a
Laov;a(Ljava/lang/String;)Laov;
intermediary method_24341
Lnet/minecraft/class_4758;method_24341(Ljava/lang/String;)Lnet/minecraft/class_4758;
named create
Lnet/minecraft/util/TickDurationMonitor;create(Ljava/lang/String;)Lnet/minecraft/util/TickDurationMonitor;
-
tickProfiler
- Mappings:
Namespace Name Mixin selector official a
Laov;a(Laos;Laov;)Laos;
intermediary method_24340
Lnet/minecraft/class_4758;method_24340(Lnet/minecraft/class_3695;Lnet/minecraft/class_4758;)Lnet/minecraft/class_3695;
named tickProfiler
Lnet/minecraft/util/TickDurationMonitor;tickProfiler(Lnet/minecraft/util/profiler/Profiler;Lnet/minecraft/util/TickDurationMonitor;)Lnet/minecraft/util/profiler/Profiler;
-