Package net.minecraft.util.profiling
Class SingleTickProfiler
java.lang.Object
net.minecraft.util.profiling.SingleTickProfiler
-
Field Summary
Modifier and TypeFieldDescriptionprivate final File
private static final org.slf4j.Logger
private ProfileCollector
private final LongSupplier
private final long
private int
-
Constructor Summary
ConstructorDescriptionSingleTickProfiler
(LongSupplier p_145963_, String p_145964_, long p_145965_) -
Method Summary
Modifier and TypeMethodDescriptionstatic SingleTickProfiler
createTickProfiler
(String p_18633_) static ProfilerFiller
decorateFiller
(ProfilerFiller p_18630_, SingleTickProfiler p_18631_) void
endTick()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
realTime
-
saveThreshold
private final long saveThreshold -
tick
private int tick -
location
-
profiler
-
-
Constructor Details
-
SingleTickProfiler
-
-
Method Details
-
startTick
-
endTick
public void endTick() -
createTickProfiler
-
decorateFiller
public static ProfilerFiller decorateFiller(ProfilerFiller p_18630_, @Nullable SingleTickProfiler p_18631_)
-