Package zombie
Class GameProfiler
java.lang.Object
zombie.GameProfiler
public final class GameProfiler
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GameProfiler.ProfileArea
static class
GameProfiler.RecordingFrame
-
Method Summary
Modifier and Type Method Description void
end(GameProfiler.ProfileArea profileArea)
void
endFrame()
static GameProfiler
getInstance()
static long
getTimeNs()
static void
init()
void
invokeAndMeasure(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, Invokers.Params3.ICallback iCallback)
void
invokeAndMeasure(java.lang.String string, java.lang.Object object, java.lang.Object object2, Invokers.Params2.ICallback iCallback)
void
invokeAndMeasure(java.lang.String string, java.lang.Object object, Invokers.Params1.ICallback iCallback)
void
invokeAndMeasure(java.lang.String string, java.lang.Runnable runnable)
void
invokeAndMeasureFrame(java.lang.String string, java.lang.Runnable runnable)
static boolean
isRunning()
void
render(int int1, int int2)
GameProfiler.ProfileArea
start(java.lang.String string)
GameProfiler.ProfileArea
start(GameProfiler.ProfileArea profileArea)
GameProfiler.ProfileArea
start(GameProfiler.ProfileArea profileArea, long long1)
void
startFrame(java.lang.String string)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getInstance
-
startFrame
public void startFrame(java.lang.String string) -
endFrame
public void endFrame() -
invokeAndMeasureFrame
public void invokeAndMeasureFrame(java.lang.String string, java.lang.Runnable runnable) -
invokeAndMeasure
public void invokeAndMeasure(java.lang.String string, java.lang.Runnable runnable) -
isRunning
public static boolean isRunning() -
invokeAndMeasure
public void invokeAndMeasure(java.lang.String string, java.lang.Object object, Invokers.Params1.ICallback iCallback) -
invokeAndMeasure
public void invokeAndMeasure(java.lang.String string, java.lang.Object object, java.lang.Object object2, Invokers.Params2.ICallback iCallback) -
invokeAndMeasure
public void invokeAndMeasure(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, Invokers.Params3.ICallback iCallback) -
start
-
start
-
start
-
end
-
render
public void render(int int1, int int2) -
getTimeNs
public static long getTimeNs() -
init
public static void init()
-