Start a timing test.
Call timer_elapsed when the task is supposed to be done. Call this function again to restart the timer.