Skip to contentSkip to conversation

cpupower: Introduce powercap module

PATCH In review Thomas Renninger 1 participant 1 message Nov 17, 2022

lore
Share & tools
lore
#0 lore raw

cover 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