Skip to content

Measuring the energy consumption (nanoJoules) of SaC programs through RAPL.

Notifications You must be signed in to change notification settings

SacBase/sac-energy

Repository files navigation

SaC Energy Consumption

Measuring the energy consumption (nanoJoules) of SaC programs through RAPL.

Manual Build

The project uses the cmake-common submodule, and so upon cloning this repository it is important that you first initialize submodules.

git submodule update --init --recursive
cmake -B build
cmake --build build

RAPL Permissions

Reading 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

About

Measuring the energy consumption (nanoJoules) of SaC programs through RAPL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published