Better timemeasurement (i hope, we asume the sample rate is stable).