Package net.minecraft.util
Class TickDurationMonitor
java.lang.Object
net.minecraft.util.TickDurationMonitor
public class TickDurationMonitor extends Object
-
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
-
timeGetter
-
overtime
private final long overtime -
tickCount
private int tickCount -
tickResultsDirectory
-
profiler
-
-
Constructor Details
-
TickDurationMonitor
public TickDurationMonitor()
-
-
Method Details
-
nextProfiler
-
endTick
public void endTick() -
create
-
tickProfiler
-