I would like to measure L1 & L2 cache miss & cache miss rate on a Pentium III processor.
Should the counters to be used are L1_Lines_Allocated, L2_Lines_Allocated and Data_Memory_References (i.e., does L1 cache miss rate = L1_Lines_Allocated/ Data_Memory_References)?
cpolson wrote:Event ratios are not yet supported on Linux. To do this somewhat manually, configure sampling of the events based on fixed sample-after-values (SAV) with nice even numbers (powers of 10 are easiest - pick an SAV close to what was already determined by VTune), and turn off calibration. This will allow easy ratios to be determined just by inspection.