Package net.minecraft.profiler
Class TimeTracker
- java.lang.Object
-
- net.minecraft.profiler.TimeTracker
-
public class TimeTracker extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private IResultableProfiler
profiler
private java.util.function.LongSupplier
realTime
private java.util.function.IntSupplier
tickCount
-
Constructor Summary
Constructors Constructor Description TimeTracker(java.util.function.LongSupplier p_i231483_1_, java.util.function.IntSupplier p_i231483_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disable()
void
enable()
IProfiler
getFiller()
IProfileResult
getResults()
boolean
isEnabled()
-
-
-
Field Detail
-
realTime
private final java.util.function.LongSupplier realTime
-
tickCount
private final java.util.function.IntSupplier tickCount
-
profiler
private IResultableProfiler profiler
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
disable
public void disable()
-
enable
public void enable()
-
getFiller
public IProfiler getFiller()
-
getResults
public IProfileResult getResults()
-
-