cpufreq: interactive: adjust load for changes in speed
authorTodd Poynor <toddpoynor@google.com>
Wed, 12 Dec 2012 00:05:03 +0000 (16:05 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:47 +0000 (13:52 -0800)
commit2c2b492e77e9b46f6db04059c9cc6068f538b239
tree22a4ca3a2c2ffb1994d4924f5e820193e657129c
parent482f37e3d8128fc370b68a7a0979fb66211f8461
cpufreq: interactive: adjust load for changes in speed

Add notifier for speed transitions.  Keep a count of CPU active
microseconds times current frequency, converted to a percentage relative
to the current frequency when load is evaluated.

Change-Id: I5c27adb11081c50490219784ca57cc46e97fc28c
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/cpufreq/cpufreq_interactive.c