https://github.com/djselbeck/rapl-read-ryzen
Quick & dirty hack to read AMD Ryzen rapl counters
https://github.com/djselbeck/rapl-read-ryzen
amd energy-monitor power-meter rapl
Last synced: 6 months ago
JSON representation
Quick & dirty hack to read AMD Ryzen rapl counters
- Host: GitHub
- URL: https://github.com/djselbeck/rapl-read-ryzen
- Owner: djselbeck
- Created: 2017-10-05T21:24:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T15:02:26.000Z (over 6 years ago)
- Last Synced: 2024-08-07T23:55:22.739Z (10 months ago)
- Topics: amd, energy-monitor, power-meter, rapl
- Language: C
- Size: 2.93 KB
- Stars: 64
- Watchers: 5
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rapl-read-ryzen
Quick and dirty hack to try to use the rapl counters on the AMD Ryzen platform.
At the moment it only reads half the cores as it assumes SMT.
Compile with:
gcc -o ryzen ryzen.c -lm
Needs access to /dev/cpu/CPUNO/msr files. So may need root rights
## Tested on: ##
* AMD Ryzen Threadripper 1950x
* AMD Epyc 7501