Open aayasin opened 2 years ago
It seems to be a bug in perf, it doesn't output the variability in this case
perf stat -e '{cpu/event=0x9c,umask=0x1/,cpu/event=0x3c,umask=0x0,any=1/,cpu/event=0xc2,umask=0x2/,cpu/event=0xe,umask=0x1/,cpu/event=0xd,umask=0x1,any=1/}' -A -a -r3 -- taskset 0x4 ./workloads/CLTRAMP3D
clang++ -w -std=gnu++11 tramp3d-v4.cpp
Performance counter stats for 'system wide' (3 runs):
CPU0 30,569,205 cpu/event=0x9c,umask=0x1/
CPU1 9,104,879 cpu/event=0x9c,umask=0x1/
CPU2 33,943,285,980 cpu/event=0x9c,umask=0x1/
CPU3 1,801,127 cpu/event=0x9c,umask=0x1/
...
It works if I remove the -a -A
This one might have been hiding there also before. Basically, -rN when N>1 does not print the +- drift always. Reproducer on ICX. Relevant setup details included too.
Good run where +- 0.5 is printed next to Fetch_Latency for example
Bad run where the drift is omitted. Only diff is adding
--frequency
to toplevSetup details