Add time measurement.