I am trying to understand the meaning of a set of performance counters: l2_subp queries, misses and hits.
Is (l2_subp0_read_sector_queries + l2_subp1_read_sector_queries) the total number of 32 bit memory
requests made to L2 cache ?
If this is correct I would assume that:
l2_subp0_read_sector_queries + l2_subp1_read_sector_queries =
l2_subp0_read_sector_misses + l2_subp1_read_sector_misses +
l2_subp0_read_hit_sectors + l2_subp1_read_hit_sectors
i.e. the total number of L2 cache requests should be equal to the hits plus the misses.
In the application I am working on the relationship does not hold, the two members of the
equation are close but not equal.
Is this simply due to uncertainty during profiling or the two numbers should not be
the same (in which case I do not understand the meaning of the profiler counter) ?
Thank you in advance