Methods Summary |
---|
public float | getFramesPerSecond()
return mPeriodFrames / (float)mPeriodTime;
|
public float | getNanosPerPixel()
double frameTimeInNanos = (mPeriodTime / (double)mPeriodFrames) * 1000000.0;
return (float)(frameTimeInNanos / mPixels);
|
public int | getPeriodFrameCount()
return mPeriodFrames;
|
public int | getPeriodTime()
return mPeriodTime;
|
public int | getTotalFrameCount()
return mTotalFrames;
|
public java.lang.String | toString()
return getFramesPerSecond() + " FPS";
|