summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorMinsung Kim <ms925.kim@samsung.com>2014-11-29 21:43:53 +0900
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:53:04 -0800
commit0b4d5f59680e7c7101dec8c84514cd4eb0f7fb0a (patch)
tree930320f7e6f126e62b508115361e8691f7842966 /tools/perf/scripts/python/Perf-Trace-Util
parent39b5c1bf837b16432490fb2b63d5345bb782fa79 (diff)
cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur
When __cpufreq_driver_target() in speedchange_task failed for some reason, the policy->cur could be lower than the target_freq. The governor misses to change the target_freq if the target_freq is equal to the next_freq at the next sample time. Added a check to prevent the CPU to stay at the speed that is lower than the target_freq for long duration. Change-Id: Ibfdcd193b8280390b8f8374a63218aa31267f310 Signed-off-by: Minsung Kim <ms925.kim@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions