To: Pallipadi, Venkatesh <venkatesh.pallipadi@...>
Cc: Dave Jones <davej@...>, Andi Kleen <andi@...>, Alan Stern <stern@...>, LKML <linux-kernel@...>, Adam Belay <abelay@...>, Lee Revell <rlrevell@...>, <linux-pm@...>, Pavel Machek <pavel@...>
On Tue, 4 Mar 2008 11:01:28 -0800
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com> wrote:
Ah, so the measured_us and elapsed_us are trying to keep track of time between non-timer wakeups?
I tried using predicted_us and last_measured_us, and those didn't work (see the #if 0 code in my last patch). And since cpuidle_get_last_residency() is part of predicted_us, I don't think it is reporting useful values.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
--