From: Thomas Renninger <trenn@suse.de>
To: linux-pm@vger.kernel.org
Cc: skhan@linuxfoundation.org, Zhang Rui <rui.zhang@intel.com>,
daniel.lezcano@linaro.org
Subject: [PATCH 0/2] cpupower: Introduce powercap module
Date: Thu, 17 Nov 2022 10:47:23 +0100 [thread overview]
Message-ID: <3231607.VqM8IeB0Os@work> (raw)
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
reply other threads:[~2022-11-17 9:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3231607.VqM8IeB0Os@work \
--to=trenn@suse.de \
--cc=daniel.lezcano@linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).