fearful-symmetry / gorapl

A user-friendly, low-level API for accessing Intel's RAPL feature set
Apache License 2.0
1 stars 1 forks source link

Check CPU domain support #1

Closed fearful-symmetry closed 5 years ago

fearful-symmetry commented 5 years ago

It would be cool to have some code that actually checks what RAPL domains are available on a given package. The kernel has some code to do this that we could go off of: https://github.com/torvalds/linux/blob/master/drivers/powercap/intel_rapl.c#L1396

fearful-symmetry commented 5 years ago

Added by 4be159abd7da97182b344bba48af19bc3a526857