Re: [PATCH] perf stat: Use proper cpu for shadow stats

From: Andi Kleen
Date: Fri Nov 13 2020 - 14:18:27 EST


> CPU0 109,621,384 cycles
> CPU1 159,026,454 cycles
> CPU2 99,460,366 cycles
> CPU3 124,144,142 cycles
> CPU0 44,396,706 instructions # 0.41 insn per cycle
> CPU1 120,195,425 instructions # 0.76 insn per cycle
> CPU2 44,763,978 instructions # 0.45 insn per cycle
> CPU3 69,049,079 instructions # 0.56 insn per cycle
>
> 1.001910444 seconds time elapsed

Yes makes a lot of sense. Thanks for tracking that down.

Reviewed-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

-Andi