diff options
| author | rahul.khandelwal <rahul.khandelwal@spreadtrum.com> | 2015-04-17 11:45:23 +0530 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:53:09 -0800 |
| commit | 4808d2835106dac954682fe427387b115834b348 (patch) | |
| tree | 4bfb540ffb1277e3973f4c74da36ce0dbe7e5686 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| 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>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
