mbox series

[0/2] cpupower: Introduce powercap module

Message ID 3231607.VqM8IeB0Os@work (mailing list archive)
Headers show
Series cpupower: Introduce powercap module | expand

Message

Thomas Renninger Nov. 17, 2022, 9:47 a.m. UTC
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