Fix a divide-by-zero case

-modify calculating frame rate per second (FPS)
 to fix divide-by-zero crash issue after too slow task switch.

Signed-off-by: fujita <[email protected]>
1 file changed