| commit | 4808d2835106dac954682fe427387b115834b348 | [log] [tgz] |
|---|---|---|
| author | rahul.khandelwal <rahul.khandelwal@spreadtrum.com> | Fri Apr 17 11:45:23 2015 +0530 |
| committer | John Stultz <john.stultz@linaro.org> | Tue Feb 16 13:53:09 2016 -0800 |
| tree | 4bfb540ffb1277e3973f4c74da36ce0dbe7e5686 | |
| parent | bc68f6c4efbd4ddbb15817203f18b7941d9ffd52 [diff] |
subsystem: CPU FREQUENCY DRIVERS- Set cpu_load calculation on current frequency In timer, cpu_load is calcuated on target_freq. cpu_load = loadadjfreq / pcpu->target_freq; But cpu is actually running on current freq i.e. pcpu->policy->cur. So cpu_load should be calculated on current frequency. cpu_load = loadadjfreq / pcpu->policy->cur; Change-Id: I89db6b68e9f82aa52077f6bf7d819dab74265790 Signed-off-by: rahul.khandelwal <rahul.khandelwal@spreadtrum.com>