[CPUFREQ][5/6] cpufreq: Changes to get_cpu_idle_time_us(), used by ondemand governor
author[email protected] <[email protected]>
Mon, 4 Aug 2008 18:59:11 +0000 (11:59 -0700)
committerDave Jones <[email protected]>
Thu, 9 Oct 2008 17:52:44 +0000 (13:52 -0400)
commit8083e4ad970e4eb567e31037060cdd4ba346f0c0
tree330e6dc1dbb7c7db13d14f3681d4a51f62708329
parente9d95bf7eb929b9ddc9af9f4327b76c77ed4c7d6
[CPUFREQ][5/6] cpufreq: Changes to get_cpu_idle_time_us(), used by ondemand governor

export get_cpu_idle_time_us() for it to be used in ondemand governor.
Last update time can be current time when the CPU is currently non-idle,
accounting for the busy time since last idle.

Signed-off-by: Venkatesh Pallipadi <[email protected]>
Signed-off-by: Dave Jones <[email protected]>
include/linux/tick.h
kernel/time/tick-sched.c