In our previous example, using the tick count method, 0.1r/s cannot be distinguished from 0.09r/s because both yields about 5 ticks per PID invocation. However, using the period measurement, 0.1r/s results in a period of 10ms, whereas 0.09r/s results in a period of 11.1ms. Even with a timing resolution of 1ms, we can still distinguish 0.09r/s from 0.1r/s.
Note that timing resolution can be improved by hardware peripherals. The ATMega128, for example, has an ``input capture'' device associated with timer 1. It can record the duration of a pulse at resolutions down to single clock periods.