Timing the threads.