change meaning of start and end time to measure total elapsed time for process