On Wed, Apr 14, 2010 at 2:49 AM, Andi Kleen <andi@firstfloor.org> wrote:
To capture all the quantities for a CPU atomically, they must be read
on the CPU. Basically, reading them on that CPU prevents them from
changing as we read them.
Also, if the CPU is idle (injected or otherwise), the quantities won't
get updated.
It should be infrequent. The idle cycle injector does all the hard
work. These interfaces are for monitoring.
I will look at it one more time to see if there is something else that
can be done.
--