* [PATCH 0/2] Introduce powercap userspace frontend
@ 2022-07-09 8:13 Thomas Renninger
2022-07-20 9:45 ` Zhang Rui
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Renninger @ 2022-07-09 8:13 UTC (permalink / raw)
To: linux-pm; +Cc: skhan
cpupower powercap-info
cpupower monitor -m RAPL
further development could provide:
cpupower powercap-set
to enable/disable RAPL domains, etc.
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 | 12 +-
tools/power/cpupower/lib/powercap.c | 290 ++++++++++++++++++
tools/power/cpupower/lib/powercap.h | 54 ++++
.../cpupower/man/cpupower-powercap-info.1 | 25 ++
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 | 141 +++++++++
tools/power/cpupower/utils/powercap-info.c | 113 +++++++
10 files changed, 639 insertions(+), 7 deletions(-)
create mode 100644 tools/power/cpupower/lib/powercap.c
create mode 100644 tools/power/cpupower/lib/powercap.h
create mode 100644 tools/power/cpupower/man/cpupower-powercap-info.1
create mode 100644 tools/power/cpupower/utils/idle_monitor/rapl_monitor.c
create mode 100644 tools/power/cpupower/utils/powercap-info.c
--
2.33.0
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 0/2] Introduce powercap userspace frontend
2022-07-09 8:13 [PATCH 0/2] Introduce powercap userspace frontend Thomas Renninger
@ 2022-07-20 9:45 ` Zhang Rui
2022-07-21 13:02 ` Thomas Renninger
0 siblings, 1 reply; 4+ messages in thread
From: Zhang Rui @ 2022-07-20 9:45 UTC (permalink / raw)
To: Thomas Renninger, linux-pm; +Cc: skhan
Hi, Thomas,
I want to give the patches a try but it seems that the patch format is
corrupted, and I can not find them in patchwork neither.
thanks,
rui
On Sat, 2022-07-09 at 10:13 +0200, Thomas Renninger wrote:
> cpupower powercap-info
> cpupower monitor -m RAPL
>
> further development could provide:
> cpupower powercap-set
> to enable/disable RAPL domains, etc.
>
> 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 | 12 +-
> tools/power/cpupower/lib/powercap.c | 290
> ++++++++++++++++++
> tools/power/cpupower/lib/powercap.h | 54 ++++
> .../cpupower/man/cpupower-powercap-info.1 | 25 ++
> 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 | 141 +++++++++
> tools/power/cpupower/utils/powercap-info.c | 113 +++++++
> 10 files changed, 639 insertions(+), 7 deletions(-)
> create mode 100644 tools/power/cpupower/lib/powercap.c
> create mode 100644 tools/power/cpupower/lib/powercap.h
> create mode 100644 tools/power/cpupower/man/cpupower-powercap-info.1
> create mode 100644
> tools/power/cpupower/utils/idle_monitor/rapl_monitor.c
> create mode 100644 tools/power/cpupower/utils/powercap-info.c
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Introduce powercap userspace frontend
2022-07-20 9:45 ` Zhang Rui
@ 2022-07-21 13:02 ` Thomas Renninger
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Renninger @ 2022-07-21 13:02 UTC (permalink / raw)
To: linux-pm, Zhang Rui; +Cc: skhan
Hi Rui,
long time no write... ;)
Thanks a lot for having look.
I am currently moving, the usual time problem, sigh.
I will test the way I sent patches first and come up with another version.
But probably not before Mo.
The patches have been in SUSE cpupower package for some time.
I finally find the time to post them, will do again asap.
Thomas
Am Mittwoch, 20. Juli 2022, 11:45:08 CEST schrieb Zhang Rui:
> Hi, Thomas,
>
> I want to give the patches a try but it seems that the patch format is
> corrupted, and I can not find them in patchwork neither.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 0/2] Introduce powercap userspace frontend
@ 2022-11-23 11:18 Thomas Renninger
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Renninger @ 2022-11-23 11:18 UTC (permalink / raw)
To: skhan; +Cc: linux-pm, rui.zhang, daniel.lezcano, Thomas Renninger
cpupower powercap-info
cpupower monitor -m RAPL
further development could provide:
cpupower powercap-set
to enable/disable RAPL domains, etc.
Thomas Renninger (2):
cpupower: Introduce powercap intel-rapl library 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/lib/powercap.c | 290 ++++++++++++++++++
tools/power/cpupower/lib/powercap.h | 54 ++++
.../cpupower/man/cpupower-powercap-info.1 | 25 ++
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 | 148 +++++++++
tools/power/cpupower/utils/powercap-info.c | 117 +++++++
10 files changed, 653 insertions(+), 7 deletions(-)
create mode 100644 tools/power/cpupower/lib/powercap.c
create mode 100644 tools/power/cpupower/lib/powercap.h
create mode 100644 tools/power/cpupower/man/cpupower-powercap-info.1
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] 4+ messages in thread
end of thread, other threads:[~2022-11-23 11:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-09 8:13 [PATCH 0/2] Introduce powercap userspace frontend Thomas Renninger
2022-07-20 9:45 ` Zhang Rui
2022-07-21 13:02 ` Thomas Renninger
-- strict thread matches above, loose matches on Subject: below --
2022-11-23 11:18 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).