The difference is in the counters, which count the event.
INST_RETIRED.ANY_P is counted by one of two programmable counters. INST_RETIRED.ANY is counted by a designated fixed counter, leaving the two programmable counters available for other events.
Yes, youre right.
Quoting - irisshinra308 By the way, do the INST_RETIRED.ANY_P shows the instructions retired from all cores and the UNHALTED_CORE_CYCLE shows the cycles summantion of all cores?
Right name for the event is CPU_CLK_UNHALTED.CORE
By default the result is summarized by all cores. If you push the CPU button in the Module, Process or Hotspot view, you get the per-core results.Quoting - irisshinra308 Does INST_RETIRED.ANY_P/ UNHALTED_CORE_CYCLE show the average IPC of a core or the IPC of the whole processor?
INST_RETIRED.ANY_P / CPU_CLK_UNHALTED.CORE ratio provides IPC regarding particular process/module (depending on granularity) for entire processor.