Class Profiler

java.lang.Object
net.minecraft.profiler.Profiler
All Implemented Interfaces:
IProfiler, IResultableProfiler

public class Profiler extends Object implements IResultableProfiler
  • Field Details

    • WARNING_TIME_NANOS

      private static final long WARNING_TIME_NANOS
    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • paths

      private final List<String> paths
    • startTimes

      private final it.unimi.dsi.fastutil.longs.LongList startTimes
    • entries

      private final Map<String,Profiler.Section> entries
    • getTickTime

      private final IntSupplier getTickTime
    • getRealTime

      private final LongSupplier getRealTime
    • startTimeNano

      private final long startTimeNano
    • startTimeTicks

      private final int startTimeTicks
    • path

      private String path
    • started

      private boolean started
    • currentEntry

      @Nullable private Profiler.Section currentEntry
    • warn

      private final boolean warn
  • Constructor Details

  • Method Details