Skip to content

djselbeck/rapl-read-ryzen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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

About

Quick & dirty hack to read AMD Ryzen rapl counters

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages