docs.rs failed to build rapl-energy-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rapl-energy-0.2.2
RAPL Energy
Reading CPU energy consumption and controlling CPU power limits through RAPL.
Reading RAPL requires elevated permissions.
RAPL permissions
- Create a new
raplgroup.
- Create a new file
sudo nano /etc/udev/rules.d/70-intel-rapl.rulesand add the following rule.
ACTION=="add", SUBSYSTEM=="powercap", KERNEL=="intel-rapl:*", \
RUN+="/usr/bin/chgrp rapl /sys/%p/energy_uj", \
RUN+="/usr/bin/chmod g+r /sys/%p/energy_uj"
Reboot, and check if you can read cat /sys/class/powercap/intel-rapl:*/energy_uj