This implementation of the raplcap
interface uses the Linux Power Capping Framework abstractions in the Linux /sys
filesystem.
The powercap library provides C bindings to powercap in sysfs. If using a Debian-based Linux distribution, you may install the libpowercap-dev package instead of building the library from source (if the repository-based version is new enough).
To enable the required intel-rapl
powercap control type, ensure that the appropriate kernel module is loaded:
sudo modprobe intel_rapl_msr
On on kernels older than 5.3:
sudo modprobe intel_rapl