First, it requires that the entity directly incontrol of the I/O (usually, either the device hardware and/or operating system) measure and record the I/O start/stop times.
It requires a hardware timer with sufficient resolution to accurately time these I/O events.