Print out the time taken to complete the task.