acrn-kernel/tools/power/cpupower/utils
Thomas Renninger 8c37df3d63 cpupower: rapl monitor - shows the used power consumption in uj for each rapl domain
This CPU power monitor shows the power consumption
as exposed by the powercap subsystem, cmp with:
Documentation/power/powercap/powercap.rst

cpupower monitor -m RAPL
    | RAPL
 CPU| pack | core | unco
   0|6853926|967832|442381
   8|6853926|967832|442381
   1|6853926|967832|442381
   9|6853926|967832|442381

Unfortunately RAPL domains cannot be directly mapped to the corresponding
CPU socket/package, core it belongs to.
Not sure this is possible at all with the current data exposed from the
kernel.

Still it can be worthful information for developers trying to optimize
power consumption of workloads or their system in general.

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: Zhang Rui <rui.zhang@intel.com>
CC: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-11-30 16:48:34 -07:00
..
helpers cpupower: Add function to print AMD P-State performance capabilities 2022-02-22 18:37:12 -07:00
idle_monitor cpupower: rapl monitor - shows the used power consumption in uj for each rapl domain 2022-11-30 16:48:34 -07:00
builtin.h cpupower: Introduce powercap intel-rapl library and powercap-info command 2022-11-30 16:48:28 -07:00
cpufreq-info.c tools/cpupower: Choose base_cpu to display default cpupower details 2022-11-25 10:50:04 -07:00
cpufreq-set.c cpupower: Provide online and offline CPU information 2020-10-26 13:36:24 -06:00
cpuidle-info.c tools/cpupower: Choose base_cpu to display default cpupower details 2022-11-25 10:50:04 -07:00
cpuidle-set.c cpupower: Provide online and offline CPU information 2020-10-26 13:36:24 -06:00
cpupower-info.c tools/cpupower: Choose base_cpu to display default cpupower details 2022-11-25 10:50:04 -07:00
cpupower-set.c tools/power/cpupower: Read energy_perf_bias from sysfs 2020-11-16 17:42:12 +01:00
cpupower.c cpupower: Introduce powercap intel-rapl library and powercap-info command 2022-11-30 16:48:28 -07:00
powercap-info.c cpupower: Introduce powercap intel-rapl library and powercap-info command 2022-11-30 16:48:28 -07:00
version-gen.sh