- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sometimes, we need to program the msr to get the statistics we want. For example, to get cycles in transactions, we need to configure IA32_PERFEVTSEL2 with the IN_TX and IN_TXCP filters and use Unhalted_Core_Cycles will get the cycles in transactions. But vtune exposes this kind of interface? Or we need program the msr manually before the profiling?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Only if VTune exposes to programmer some kind of API you can do what you asked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is Task API available to VTune users,but it does not expose low level access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would you give me the link to the chapter in the documentation for these kind of API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VTune Amplifier XE does not provide this type of access. The point is to abstract that level of detail away from the user.
As was mentioned earlier, Performance Counter Monitor (PCM), now shipped with the VTune Amplifier XE, may meet your needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel PCM 2.5 (www.intel.com/software/pcm) supports API to program IN_TX and IN_TXCP filters and use Unhalted_Core_Cycles to get the cycles in Intel TSX transactions (and also aborted cycles). There is also pcm-tsx utility that allows to monitor these and other TSX metrics without requiring you to write your own tool. Here is a blog on how to use it.
Roman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>>As was mentioned earlier, Performance Counter Monitor (PCM), now shipped with the VTune Amplifier XE, may meet your needs.>>>
Did not know that PCM is now used with VTune Amplifier XE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ iliyapolak
PCM is NOT used with VTune Amlifier XE. It means that PCM collects data and displays report by PCM itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter Wang (Intel) wrote:
@ iliyapolak
PCM is NOT used with VTune Amlifier XE. It means that PCM collects data and displays report by PCM itself.
Thanks Peter for explaining this.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page