Test driver: Print total time spent at the end