Print the total duration when the process is completed.