aboutsummaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorPavankumar Kondeti2020-11-28 07:09:23 +0530
committerRafael J. Wysocki2020-12-08 18:21:16 +0100
commit1080399542075bb0e9d46ea80418d76784d1ece8 (patch)
tree31748702d18f8cdc18f5e1688a43f5239dccf203 /net/unix
parentb56a352c0d3ca4640c3c6364e592be360ac0d6d4 (diff)
PM / EM: Micro optimization in em_cpu_energy
When the sum of the utilization of CPUs in a power domain is zero, return the energy as 0 without doing any computations. Acked-by: Quentin Perret <qperret@google.com> Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions