Skip to content

cpupower: Introduce powercap module

Thomas Renninger linux-pm 1 version In review

Get series with b4
b4 am 3231607.VqM8IeB0Os@work

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpupower: Introduce powercap intel-rapl library helpers and powercap-info commandtools/power/cpupower/Makefile tools/power/cpupower/utils/builtin.h tools/power/cpupower/utils/cpupower.c +1 more+126 -41 reply
2/2cpupower: rapl monitor - shows the used power consumption in uj for each rapl domaintools/power/cpupower/Makefile tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c tools/power/cpupower/utils/idle_monitor/idle_monitors.def +1 more+153 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] cpupower: Introduce powercap module

Powercapping is an important functionality when it's about processor power consumption.

Intel rapl driver exposes worthful information about CPU's and related power consumption.

This patch series is a starting point to expose this information to the user.

Thomas Renninger (2):
cpupower: Introduce powercap intel-rapl library helpers and
powercap-info command
cpupower: rapl monitor - shows the used power consumption in uj for
each rapl domain

 tools/power/cpupower/Makefile                 |  15 +-
 tools/power/cpupower/utils/builtin.h          |   2 +
 tools/power/cpupower/utils/cpupower.c         |   1 +
 .../utils/idle_monitor/cpupower-monitor.c     |   7 +-
 .../utils/idle_monitor/idle_monitors.def      |   1 +
 .../utils/idle_monitor/rapl_monitor.c         | 147 ++++++++++++++++++
 tools/power/cpupower/utils/powercap-info.c    | 113 ++++++++++++++
 7 files changed, 279 insertions(+), 7 deletions(-)
 create mode 100644 tools/power/cpupower/utils/idle_monitor/rapl_monitor.c
 create mode 100644 tools/power/cpupower/utils/powercap-info.c
Signature · 1 line
2.37.1