- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suppose that such a functionality if exist should be exposed to the software by dedicated counters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for mentioning PIN tool.It really grabbed my attention.
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page