summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorMorten Rasmussen <morten.rasmussen@arm.com>2014-12-18 14:47:18 +0000
committerLeo Yan <leo.yan@linaro.org>2016-05-10 16:49:51 +0800
commitc1770a521398102b6f2447502035887297b17ea0 (patch)
tree102d575e3bd4a4787f59f77a42c7a8e0ba8f87a1 /kernel/sysctl_binary.c
parent5ec8ccabfef3989f4514f22c034a15aeab691110 (diff)
sched: Calculate energy consumption of sched_group
For energy-aware load-balancing decisions it is necessary to know the energy consumption estimates of groups of cpus. This patch introduces a basic function, sched_group_energy(), which estimates the energy consumption of the cpus in the group and any resources shared by the members of the group. NOTE: The function has five levels of identation and breaks the 80 character limit. Refactoring is necessary. cc: Ingo Molnar <mingo@redhat.com> cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions