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 <fujita@brilliantservice.co.jp>
1 file changed