Class FrameTimer

java.lang.Object
net.minecraft.util.FrameTimer

public class FrameTimer extends Object
  • Field Details

    • LOGGING_LENGTH

      public static final int LOGGING_LENGTH
      See Also:
      Constant Field Values
    • loggedTimes

      private final long[] loggedTimes
    • logStart

      private int logStart
    • logLength

      private int logLength
    • logEnd

      private int logEnd
  • Constructor Details

    • FrameTimer

      public FrameTimer()
  • Method Details

    • logFrameDuration

      public void logFrameDuration(long p_13756_)
    • getAverageDuration

      public long getAverageDuration(int p_144733_)
    • scaleAverageDurationTo

      public int scaleAverageDurationTo(int p_144735_, int p_144736_)
    • scaleSampleTo

      public int scaleSampleTo(long p_13758_, int p_13759_, int p_13760_)
    • getLogStart

      public int getLogStart()
    • getLogEnd

      public int getLogEnd()
    • wrapIndex

      public int wrapIndex(int p_13763_)
    • getLog

      public long[] getLog()