Re: [PATCH V2 3/6] perf intel-pt: Support itrace A option to approximate IPC

From: Andi Kleen
Date: Tue Oct 26 2021 - 13:03:07 EST



On 10/26/2021 2:01 AM, Adrian Hunter wrote:
Normally, for cycle-acccurate mode, IPC values are an exact number of
instructions and cycles. Due to the granularity of timestamps, that happens
only when a CYC packet correlates to the event.

Support the itrace 'A' option, to use instead, the number of cycles
associated with the current timestamp. This provides IPC information for
every change of timestamp, but at the expense of accuracy.

Can you expand a bit what exactly the accuracy loss it?

Would be good to describe that in the manpage too.