VTune uses a fixed counter named INST_RETIRED.ANY. The description in the Software Developer's manual for INST_RETIRED.ANY just says
"This event counts the number of instructions that retire execution. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. The counter continues counting during hardware interrupts, traps, and in-side interrupt handlers."
I'm not sure what context is implied with regards to the "instrcutions that retire execution".
Does the INST_RETIRED.ANY count all instructions that retire on the physical core that fixed counter resides on? Or is it per-logical core? Or something else?
Hi Aaron,
Thank you for posting in Intel Forums. "INST_RETIRED.ANY" counts the number of instructions located on the logical core(HW thread). Refer this link for more information regarding instructions retired event.
Hope this helps!
Regards,
Alekhya
链接已复制
@AAhusk wrote:
VTune uses a fixed counter named INST_RETIRED.ANY. The description in the Software Developer's manual for INST_RETIRED.ANY just says
"This event counts the number of instructions that retire execution. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. The counter continues counting during hardware interrupts, traps, and in-side interrupt handlers."
I'm not sure what context is implied with regards to the "instrcutions that retire execution".
Does the INST_RETIRED.ANY count all instructions that retire on the physical core that fixed counter resides on? Or is it per-logical core? Or something else?
Retirement of instruction is one of the last stages of the pipelined execution. At this stage the Retirement Unit usually would decommit any resources held by the instruction and update the software visible state (commit to the memory or commit to software visible registers).
IIRC the fixed counter 0 is responsible for counting the "INST_RETIRED.ANY" fixed event per core.
Hi Aaron,
Thank you for posting in Intel Forums. "INST_RETIRED.ANY" counts the number of instructions located on the logical core(HW thread). Refer this link for more information regarding instructions retired event.
Hope this helps!
Regards,
Alekhya
Hi Aaron,
Could you please give us an update regarding this issue?
Regards,
Alekhya
Hi,
We assume that your issue is resolved. If you have any additional issues/doubts, please submit a new question as this thread will no longer be monitored.
Regards,
Alekhya
Hi Aaron,
Thank you for coming back and accepting our solution. For any other issues/queries, please submit a new question as this thread will no longer be monitored.
Regards,
Alekhya
