Add totalTime to stats output.