|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.graphics.FPSLogger
public class FPSLogger
A simple helper class to log the frames per seconds achieved. Just invoke the log()
method in your rendering method.
The output will be logged once per second.
Constructor Summary | |
---|---|
FPSLogger()
|
Method Summary | |
---|---|
void |
log()
Logs the current frames per second to the console. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FPSLogger()
Method Detail |
---|
public void log()
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |