Package net.minecraft.util
Class FrameTimer
- java.lang.Object
-
- net.minecraft.util.FrameTimer
-
public class FrameTimer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
logEnd
private long[]
loggedTimes
private int
logLength
private int
logStart
-
Constructor Summary
Constructors Constructor Description FrameTimer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]
getLog()
int
getLogEnd()
int
getLogStart()
void
logFrameDuration(long p_181747_1_)
int
scaleSampleTo(long p_219792_1_, int p_219792_3_, int p_219792_4_)
int
wrapIndex(int p_181751_1_)
-
-
-
Method Detail
-
logFrameDuration
public void logFrameDuration(long p_181747_1_)
-
scaleSampleTo
public int scaleSampleTo(long p_219792_1_, int p_219792_3_, int p_219792_4_)
-
getLogStart
public int getLogStart()
-
getLogEnd
public int getLogEnd()
-
wrapIndex
public int wrapIndex(int p_181751_1_)
-
getLog
public long[] getLog()
-
-