Interrupt Latency Measurement
AssigneeWind River Systems, Inc.
InventorsMaarten KONING, Tomas Evensen
Life of this patent
Estimating the term…
Abstract
A system and method for setting a first indicator indicating that interrupts are virtually locked, receiving a first interrupt at a processor of a computing device, setting a second indicator indicating the receipt of the first interrupt and recording a first timestamp based on the receipt of the first interrupt. The system and method further adapted to virtually execute a routine for the first interrupt that includes determining if the second indicator is set, record a second timestamp based on the virtual execution of the routine and determine an interrupt latency based on the first and second timestamp.
Claims18
A method, comprising:
- setting a first indicator indicating that interrupts are virtually locked;
- receiving a first interrupt at a processor of a computing device;
- setting a second indicator indicating the receipt of the first interrupt;
- recording a first timestamp based on the receipt of the first interrupt;
- virtually executing a routine for the first interrupt that includes determining if the second indicator is set;
- recording a second timestamp based on the virtual execution of the routine;
- and
- determining an interrupt latency based on the first and second timestamp.
A computing device, comprising:
- a hardware component generating an interrupt;
- a processor executing an operating system configured to receive the interrupt and measure a latency of the interrupt for the hardware component by virtually executing the interrupt;
- and
- a memory storing latency data.
A non-transitory computer readable storage medium including a set of instructions executable by a processor, the set of instructions operable to:
- set a first indicator indicating that interrupts are virtually locked;
- receive a first interrupt at a processor of a computing device;
- set a second indicator indicating the receipt of the first interrupt;
- record a first timestamp based on the receipt of the first interrupt;
- virtually execute a routine for the first interrupt that includes determining if the second indicator is set;
- record a second timestamp based on the virtual execution of the routine;
- and
- determine an interrupt latency based on the first and second timestamp.
Dependencies are inferred from the claim text.