Add a library for reading performance counters