public static void count ( ) { long duration = SystemClock . uptimeMillis ( ) - startTime ; float avgFPS = sumFrames / ( duration / 1000f ) ; Log . v ( "FPSCounter" , "total frames = %d, total elapsed time = %d ms, average fps = %f" , sumFrames , duration , avgFPS ) ; }
Computes FPS average