diff options
author | Fabio Baltieri <fabio.baltieri@linaro.org> | 2012-12-27 14:55:40 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 23:01:13 (GMT) |
commit | da53d61e21a5869b2e44247bb37deb8be387e063 (patch) | |
tree | d4a7f04cac977e16b6db523635cb875c8523fb2e /drivers/cpufreq/cpufreq_governor.h | |
parent | 2abfa876f1117b0ab45f191fb1f82c41b1cbc8fe (diff) | |
download | linux-fsl-qoriq-da53d61e21a5869b2e44247bb37deb8be387e063.tar.xz |
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 5bf6fb8..aaf073d 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 { |