Latency and real time Latency is the time required to respond to events Data arrives in a buffer User types a keystroke Some operation completes etc. Latency matters for desktop systems The interactive "feel" of the system It matters more for some applications Audio and video work Data acquisition Real-time control Two types of latency Interrupt latency Scheduling latency