Update the timer during the physics step at each frame (fixed framerate processing).
Update the timer during the idle time at each frame.
See Implementation