1
0
Files
linux/include/linux
Venki Pallipadi 6378ddb592 time: track accurate idle time with tick_sched.idle_sleeptime
Current idle time in kstat is based on jiffies and is coarse grained.
tick_sched.idle_sleeptime is making some attempt to keep track of idle time
in a fine grained manner.  But, it is not handling the time spent in
interrupts fully.

Make tick_sched.idle_sleeptime accurate with respect to time spent on
handling interrupts and also add tick_sched.idle_lastupdate, which keeps
track of last time when idle_sleeptime was updated.

This statistics will be crucial for cpufreq-ondemand governor, which can
shed some conservative gaurd band that is uses today while setting the
frequency.  The ondemand changes that uses the exact idle time is coming
soon.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:30:04 +01:00
..
2008-01-28 14:54:13 -08:00
2007-12-26 19:36:35 -08:00
2008-01-23 05:24:15 -05:00
2008-01-28 15:00:14 -08:00
2008-01-29 21:55:15 +01:00
2008-01-28 14:54:10 -08:00
2008-01-23 05:24:14 -05:00
2008-01-28 23:21:18 +01:00
2008-01-28 23:21:18 +01:00
2008-01-28 23:21:18 +01:00
2008-01-25 21:08:02 +01:00
2007-12-20 17:32:12 +00:00
2008-01-23 21:23:13 -05:00
2008-01-28 23:21:18 +01:00
2008-01-28 23:58:27 -05:00
2007-11-29 09:24:54 -08:00
2008-01-25 21:08:33 +01:00
2008-01-28 14:51:22 +01:00
2008-01-30 13:30:03 +01:00
2008-01-27 18:14:50 +01:00
2008-01-27 18:14:52 +01:00
2008-01-28 15:08:27 -08:00
2008-01-28 15:07:58 -08:00
2008-01-28 15:07:57 -08:00
2008-01-28 14:55:09 -08:00
2008-01-28 14:55:09 -08:00
2007-12-05 05:37:32 -08:00
2008-01-28 23:58:27 -05:00
2007-11-29 09:24:52 -08:00
2008-01-08 16:10:35 -08:00
2008-01-24 20:40:05 -08:00
2008-01-25 21:08:34 +01:00
2007-12-07 09:06:53 +00:00
2008-01-28 23:21:18 +01:00
2008-01-28 14:56:29 -08:00
2008-01-08 23:30:07 -08:00
2008-01-28 14:54:18 -08:00
2008-01-30 02:06:08 -05:00
2008-01-28 15:09:35 -08:00
2008-01-28 23:21:18 +01:00
2007-12-27 23:55:13 -05:00
2008-01-28 15:01:36 -08:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2007-11-29 09:24:54 -08:00
2007-11-29 09:24:53 -08:00
2008-01-02 13:04:48 -08:00
2008-01-02 13:04:48 -08:00
2008-01-02 13:04:48 -08:00
2008-01-25 21:08:33 +01:00
2008-01-25 21:08:34 +01:00
2008-01-24 20:40:26 -08:00
2007-12-17 10:47:15 -08:00
2007-12-26 19:36:35 -08:00
2008-01-28 14:58:25 -08:00