Santiago Gala wrote:
I see that in most if not all x86* machines interrupt 0 is assigned to
the timer interrupt, not sure about other architectures.

A test in http://powertop.googlecode.com/svn/trunk/powertop.c


                if (nr > 0 && delta > 0)
                        push_line(line, delta);

makes it skip interrupt 0. While it is designed to skip over NMI, LOC,
etc., it is missing a valid value.


the irq 0 is skipped on purpose; at least if you have a NO_HZ kernel, any wakeup there would be double counted by any of the other timers in the kernel.... so at minimum I'd have to subtract all known timers from it first. Hmmm.. I'll look into that.
_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to