Ingo Molnar 2aa44d0567 sched: sched_clock_idle_[sleep|wakeup]_event()
construct a more or less wall-clock time out of sched_clock(), by
using ACPI-idle's existing knowledge about how much time we spent
idling. This allows the rq clock to work around TSC-stops-in-C2,
TSC-gets-corrupted-in-C3 type of problems.

( Besides the scheduler's statistics this also benefits blktrace and
  printk-timestamps as well. )

Furthermore, the precise before-C2/C3-sleep and after-C2/C3-wakeup
callbacks allow the scheduler to get out the most of the period where
the CPU has a reliable TSC. This results in slightly more precise
task statistics.

the ACPI bits were acked by Len.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Len Brown <len.brown@intel.com>
2007-08-23 15:18:02 +02:00
..
2007-07-29 16:53:59 -07:00
2007-08-12 00:21:08 -04:00
2007-07-19 10:04:52 -07:00
2007-08-11 15:58:14 -07:00
2005-04-16 15:20:36 -07:00
2007-07-18 12:09:01 -07:00
2007-08-11 15:58:14 -07:00
2007-07-21 18:37:14 -07:00
2007-07-29 17:09:29 -07:00
2006-12-08 08:28:39 -08:00
2007-06-20 14:27:25 -07:00
2007-07-29 16:53:59 -07:00
2007-07-22 11:03:37 -07:00
2007-07-18 08:47:41 -07:00
2005-04-16 15:20:36 -07:00
2007-07-29 17:09:29 -07:00
2007-07-29 17:09:29 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00