Update the timer and add a timestamp for logging purposes.