cpufreq: interactive: adjust load for changes in speed
authorTodd Poynor <toddpoynor@google.com>
Wed, 12 Dec 2012 00:05:03 +0000 (16:05 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:17 +0000 (14:16 -0700)
commit5b28b65949ea3279f6883d7bb89e3ef2768d8c28
tree89def1541001b44007cae263420ed1bef041c822
parentf2fc3257231d227006a53f6c782e9709fdd7f6b7
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