rename elapsed_time to measure_time