|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbarsuift.simLife.time.FpsCounter
public class FpsCounter
| Constructor Summary | |
|---|---|
FpsCounter()
|
|
| Method Summary | |
|---|---|
float |
getAvgExecTime()
Get the average execution time in milliseconds |
int |
getAvgFps()
Get the average estimated fps, based on the average execution time. |
float |
getExecTime()
Get the execution time in milliseconds |
int |
getFps()
Get the current estimated fps, based on the current execution time. |
void |
tick()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FpsCounter()
| Method Detail |
|---|
public void tick()
public float getExecTime()
public int getFps()
public float getAvgExecTime()
public int getAvgFps()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||