diff options
author | Fabio Baltieri <fabio.baltieri@linaro.org> | 2012-12-27 15:55:40 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-02 00:01:13 +0100 |
commit | da53d61e21a5869b2e44247bb37deb8be387e063 (patch) | |
tree | d4a7f04cac977e16b6db523635cb875c8523fb2e /drivers/cpufreq/cpufreq_governor.h | |
parent | cpufreq: handle SW coordinated CPUs (diff) | |
download | linux-da53d61e21a5869b2e44247bb37deb8be387e063.tar.xz linux-da53d61e21a5869b2e44247bb37deb8be387e063.zip |
cpufreq: ondemand: call dbs_check_cpu only when necessary
Modify ondemand timer to not resample CPU utilization if recently
sampled from another SW coordinated core.
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_governor.h')
-rw-r--r-- | drivers/cpufreq/cpufreq_governor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq_governor.h b/drivers/cpufreq/cpufreq_governor.h index 5bf6fb8023ef..aaf073daa9fb 100644 --- a/drivers/cpufreq/cpufreq_governor.h +++ b/drivers/cpufreq/cpufreq_governor.h @@ -82,6 +82,7 @@ struct cpu_dbs_common_info { * the governor or limits. */ struct mutex timer_mutex; + ktime_t time_stamp; }; struct od_cpu_dbs_info_s { |