Starts a timing test.
Call [func@GLib.test_timer_elapsed] when the task is supposed to be done. Call this function again to restart the timer.