- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is it possible to collect the time consumed by all basic blocks of a program using command line (i.e using amplxe-cl
) after hotspot analysis? I want all the information in a file (preferably sorted with max. time consuming basic block at top). I am able to get information about only a small portion of the code using GUI. I want the information about all the basic block. Is there a command for that in amplxe-cl?
Thanks in advance
Regards - renjub (renjub007@gmail.com)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi renjub:
This is one of those questions that is fun to figure out the answer for! ;)
Usually, you can do just about anything from the command line. Here is the command that I used to display what I think you want:
c:> amplxe-cl -report hw-events -r \temp\r002ah -group-by=basic-block,address -filter=basic-block-only -column=block,source,function,"Hardware Event Count:CPU_CLK_UNHALTED.REF_TSC:Self"
This is based on Advanced Hotspots results, if you used something else, like Basic Hotspots, you will need to change at least the columns displayed where I referenced "CPU_CLK_UNHALTED.REF_TSC". My experience is that if you specify an invalid column name, VTune Amplifier will list the available column names.
Hope that helps!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi renjub:
This is one of those questions that is fun to figure out the answer for! ;)
Usually, you can do just about anything from the command line. Here is the command that I used to display what I think you want:
c:> amplxe-cl -report hw-events -r \temp\r002ah -group-by=basic-block,address -filter=basic-block-only -column=block,source,function,"Hardware Event Count:CPU_CLK_UNHALTED.REF_TSC:Self"
This is based on Advanced Hotspots results, if you used something else, like Basic Hotspots, you will need to change at least the columns displayed where I referenced "CPU_CLK_UNHALTED.REF_TSC". My experience is that if you specify an invalid column name, VTune Amplifier will list the available column names.
Hope that helps!


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