Problems with measuring time
- Timers are not infinitely accurate
- All clocks have a granularity, the minimum time that they can measure
- The error in a time measurement, even if everything is perfect, may be the size of this granularity (sometimes called a clock tick)
- Always know what your clock granularity is
- Ensure that your measurement is for a long enough duration (say 100 times the tick)