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 IResultableProfilerprofilerprivate java.util.function.LongSupplierrealTimeprivate java.util.function.IntSuppliertickCount
-
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 voiddisable()voidenable()IProfilergetFiller()IProfileResultgetResults()booleanisEnabled()
-
-
-
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()
-
-