Re: [PATCH V2] perf stat: Fix the hard-coded metrics calculation on the hybrid

From: Namhyung Kim
Date: Mon Jun 24 2024 - 13:50:16 EST


On Thu, 06 Jun 2024 11:03:16 -0700, kan.liang@xxxxxxxxxxxxxxx wrote:

> The hard-coded metrics is wrongly calculated on the hybrid machine.
>
> $ perf stat -e cycles,instructions -a sleep 1
>
> Performance counter stats for 'system wide':
>
> 18,205,487 cpu_atom/cycles/
> 9,733,603 cpu_core/cycles/
> 9,423,111 cpu_atom/instructions/ # 0.52 insn per cycle
> 4,268,965 cpu_core/instructions/ # 0.23 insn per cycle
>
> [...]

Applied to perf-tools-next, thanks!

Best regards,
Namhyung