change use_own_time_measurement to use_hpolib_time_measurement