Intel PCM - llersch/pibench GitHub Wiki
PiBench relies on Processor Counter Monitor to collect hardware metrics.
It needs access to model-specific registers (MSRs) that need set up by loading
the msr kernel module. On Arch Linux, this is part of the msr-tools package
which can be installed through pacman. Then, load the module:
$ modprobe msr
It may happen that the following message is displayed during runtime:
Error while reading perf data. Result is -1
Check if you run other competing Linux perf clients.
If so, you can comment the following line in pcm/Makefile:
CXXFLAGS += -DPCM_USE_PERF