Re: [QUESTION]perf stat: comment of miss ratio

From: Andi Kleen
Date: Fri Nov 08 2019 - 21:47:56 EST


> Relevant code is checked to make sure that the ratio is calculated by
>
> L1-dcache-load-misses/L1-dcache-loads, data "7.58%=30249/399189*100%" also
>
> proves this conclusion.
>
> So, I'm not sure why we use "of all L1-dcache hits" here to describe miss
> ratio,

Yes you're right it should be "of all L1-dcache accesses"

Please send a patch to fix the string and also check if this isn't wrong with some other
ratio too.

-Andi