Librapl is a library that simplifies access to the RAPL values in MSR registers of modern Intel CPUs.