Libmsr provides an interface to accessing model-specific registers (MSRs) on Intel platforms, which provide privileged functionality for monitoring and controlling various CPU features. Functionality is agnostic to the target Intel architecture, assuming it is supported by libmsr in the platform_headers/ directory. In addition, libmsr now supports PCI configuration registers (CSRs), such as the integrated memory controller (iMC), QuickPath Interconnect (QPI), and power control unit (PCU). Further, libmsr is optimized for batch read/write operations for up to 8X speed-up when used with the msr-safe kernel.
For access to the latest code, clone the git repo.
$ git clone https://github.com/LLNL/libmsr.git