The variable ``total_time`` does not appear to be used anywhere.