calculate instant fps, not for 10 frames