In Realtime Operating Systems ( RTOS ) , interrupt latency is the time between the generation of an interrupt by a device ( or a peripheral ) and servicing the device which generated the interrupt . In real-time operating systems , interrupt latency is the time between the generation of an interrupt by a device and the servicing of the device which generated the interrupt .