Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4821 Discussions

Count number of different cache line accesses?

T_C
Beginner
249 Views

Is there any way for VTune (or anything else) to measure the number of different cache lines a section of code (say a method) accesses, on an Ivy Bridge CPU (or a different model)? When I say "cache line", I mean how many different 64-byte blocks.

0 Kudos
3 Replies
Bernard
Black Belt
249 Views

I suppose that such a functionality if exist should be exposed to the software by dedicated  counters.

Caesar
Beginner
249 Views

You may give Intel PIN a try to solve that. Using PIN you can monitor all load/store instructions executed.

As for what can be done with the performance counters (or PMU) I find this text of David Levinthal very comprehensive: 

 

 

Bernard
Black Belt
249 Views

Thanks for mentioning PIN tool.It really grabbed my attention.

Reply