LIKWID
Intel® Xeon Phi

To use LIKWID you have to turn of power management on the MIC. LIKWID relies on RDTSC being used for wallclock time. On the MIC this is only given if power management is turned off. This can be configured in /etc/sysconfig/mic/default.conf.

At the end of this file the power management is configured. The following configuration worked:
PowerManagement "cpufreq_off;corec6_off;pc3_off;pc6_off"

Available performance monitors for the Intel® Xeon Phi microarchitecture

Counters available for each hardware thread

General-purpose counters

The Intel® Xeon Phi microarchitecture provides 2 general-purpose counters consisting of a config and a counter register.

Counter and events

Counter name Event name
PMC0 *
PMC1 *

Available Options

Option Argument Description Comment
edgedetect N Set bit 18 in config register
kernel N Set bit 17 in config register
anythread N Set bit 21 in config register
threshold 8 bit hex value Set bits 24-31 in config register
invert N Set bit 23 in config register

*/