I'm trying to learn about profiling by tracking the events L1D.REPLACEMENT
, MEM_LOAD_RETIRED.L2_MISS
, and MEM_LOAD_RETIRED.L3_MISS
using the CPU Counters instrument in Instruments 14.3.1 (14E300c) on my MacBook Pro 16" (2019) with the Intel Core i9-9980HK, running macOS 13.4 (22F66).
In this run, the counters do show some values but they don't change after the first few seconds of the program even though the program ran much longer.
In other runs, the Detail Area for the CPU Counters instruments doesn't get populated at all.
What am I doing wrong here and how can I get this to work?
Thank you for any advice.