diff options
| author | Chris Redpath <chris.redpath@arm.com> | 2017-10-25 17:25:20 +0100 |
|---|---|---|
| committer | Todd Kjos <tkjos@google.com> | 2017-10-25 19:28:51 +0000 |
| commit | 4f8767d1ca307ab8c03889534a3c5a525ce7485d (patch) | |
| tree | 0dd6a38a3215a695a7d3a12efae3ba14ec2d8c2b /tools/perf/scripts/python | |
| parent | 89805266af7825f6b8ccb8ff23a8e3aec4418dea (diff) | |
ANDROID: sched/fair: Select correct capacity state for energy_diff
The util returned from group_max_util is not capped at the max util
present in the group, so it can be larger than the capacity stored in
the array. Ensure that when this happens, we always use the last entry
in the array to fetch energy from.
Tested with synthetics on Juno board.
Bug: 38159576
Change-Id: I89fb52fb7e68fa3e682e308acc232596672d03f7
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
