diff options
| author | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | 2014-07-01 16:00:04 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 19:59:49 -0700 |
| commit | 3e7b06d9cf3dc7c542f57c59887f8632e70635d0 (patch) | |
| tree | 076693bf06a26c656fdf9f4df61a7ec5545451b1 /include/linux/input-polldev.h | |
| parent | 320e5d6710d39fa497daabaf407b6fc6a6e52377 (diff) | |
sched: Add a per rq max_possible_capacity for use in power calculations
In the absence of a power driver providing real power values, the scheduler
currently defaults to using capacity of a CPU as a measure of power. This,
however, is not a good measure since the capacity of a CPU can change due
to thermal conditions and/or other hardware restrictions. These frequency
restrictions have no effect on the power efficiency of those CPUs.
Introduce max possible capacity of a CPU to track an absolute measure of
capacity which translates into a good absolute measure of power efficiency.
Max possible capacity takes the max possible frequency of CPUs into account
instead of max frequency.
Change-Id: Ia970b853e43a90eb8cc6fd990b5c47fca7e50db8
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'include/linux/input-polldev.h')
0 files changed, 0 insertions, 0 deletions
