Measuring the energy consumption of SaC programs using RAPL and INA.
The project uses cmake-common.
Upon cloning this repo it is important initialize submodules.
git submodule update --init --recursive
makeReading RAPL requires slightly elevated permissions.
I suggest adding a new rapl group.
sudo addgroup rapl
sudo usermod -aG rapl $(whoami)And then adding the necessary entries to /etc/sysfs.conf for the available
packages. (Requires sysfsutils to be installed.)
mode class/powercap/intel-rapl:0/energy_uj = 0440
owner class/powercap/intel-rapl:0/energy_uj = root:rapl