Skip to content

Commit

Permalink
Remove requirement on module cpuid from documentation
Browse files Browse the repository at this point in the history
It seems this is not necessary,
because it provides /dev/cpu/*/cpuid, which we do not use.

cf. NixOS/nixpkgs#263375 (comment)
  • Loading branch information
PhilippWendler committed Nov 2, 2023
1 parent bccb221 commit a8f665b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,12 @@ and install it with `apt install ./cpu-energy-meter*.deb`.
Dependencies of CPU Energy Meter are [libcap](https://sites.google.com/site/fullycapable/),
which is available on most Linux distributions in package `libcap` (e.g., Fedora)
or `libcap2` (e.g, Debian and Ubuntu: `sudo apt install libcap2`),
and a Linux kernel with the MSR and CPUID modules (available by default)
and a Linux kernel with the MSR module (available by default)

Alternatively, for running CPU Energy Meter from source (quick and dirty):

sudo apt install libcap-dev
sudo modprobe msr
sudo modprobe cpuid
make
sudo ./cpu-energy-meter

Expand Down

0 comments on commit a8f665b

Please sign in to comment.