First measure then determine the time