Skip to content

Latest commit

 

History

History
executable file
·
21 lines (16 loc) · 867 Bytes

README.md

File metadata and controls

executable file
·
21 lines (16 loc) · 867 Bytes

librapl

Librapl is a library that simplifies access to the RAPL values in MSR registers of modern Intel CPUs, e.g., SandyBridge or IvyBridge processors. It also contains a sample application that can either print the current energy consumption on the console or write the values with a Gnuplot-friendly format in a file. Currently it provides the consumption of the package, the CPU and GPU as well as peripheral components (uncore).

See kicherer.org for an example created with Gnuplot.

Status

Currently, the library only provides an interface for reading the energy consumption and it is only tested with an IvyBridge CPU. Please send me an email or open an issue if you got results with SandyBridge or newer CPUs.