Skip to contentSkip to conversation

Debugging IRQ latency

Qemu-devel Pavel Janík 1 participant 1 message May 21, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

hw/i8259.c contains (when DEBUG_ is turned on):

           (double)(cpu_get_ticks() - irq_time[irq]) * 1000000.0 / ticks_per_sec);

but cpu_get_ticks is defined as static in vl.c:

static inline int64_t cpu_get_ticks(void)

Thus you can't debug IRQ latency.

Signature · 4 lines
Pavel Janík

Proving me wrong is always a good sport ;)
                  -- Linus Torvalds in linux-kernel