linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] cpupower: Introduce powercap module
@ 2022-11-17  9:47 Thomas Renninger
  0 siblings, 0 replies; only message in thread
From: Thomas Renninger @ 2022-11-17  9:47 UTC (permalink / raw)
  To: linux-pm; +Cc: skhan, Zhang Rui, daniel.lezcano

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

-- 
2.37.1





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-17  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-17  9:47 [PATCH 0/2] cpupower: Introduce powercap module Thomas Renninger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).