summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-11-14 11:41:21 -0800
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:52:46 -0800
commitfbc1d52f84d6acdefdfc1a174b17e6e9a475b855 (patch)
treed8612577b09a96a3094d05037c22a0e9d3d86768 /tools/perf/scripts/python
parente337153485e0e7a394215014f4b8035b7eee5aea (diff)
cpufreq: interactive: allow arbitrary speed / target load mappings
Accept a string of target loads and speeds at which to apply the target loads, per the documentation update in this patch. For example, "85 1000000:90 1700000:99" targets CPU load 85% below speed 1GHz, 90% at or above 1GHz, until 1.7GHz and above, at which load 99% is targeted. Attempt to avoid oscillations by evaluating the current speed weighted by current load against each new choice of speed, choosing a higher speed if the current load requires a higher speed. Change-Id: Ie3300206047c84eca5a26b0b63ea512e5207550e Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions