- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am currently using sgx-hotspot option to profile a program. I learned that there are options to show both total time(runtime for function and its collees) or self time(only the function itself) in the GUI for normal cpu profiling. However, I did not find much information for that on command-line in the documentation, what should I do if I am trying to get both total time and self time hotspot analysis on sgx-hotspot result through command line? Thanks so much!
BTW, is the report by default showing the self time? The current collecting option and report command I am using is:
vtune -collect sgx-hotspots -- Myprogram
vtune -report hotspots -r r000sgxhs -group-by module
vtune -report hotspots r000sgxhs -limit 50 >> report.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Forum.
You can generate a report in gprof-like format. The gprof-cc report shows how much time is spent in each program unit, its callers and callees. The report is sorted by time spent in the function and its callees.What you get in the hotspot report is the total elapsed time.
Commands :
vtune -collect sgx-hotspots – Myprogram
vtune -report gprof-cc -r r000sgxhs -group-by module
Please refer the following links for more details regarding gprof-cc :
For other report options, refer :
Thanks and Regards,
Raeesa
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Forum.
You can generate a report in gprof-like format. The gprof-cc report shows how much time is spent in each program unit, its callers and callees. The report is sorted by time spent in the function and its callees.What you get in the hotspot report is the total elapsed time.
Commands :
vtune -collect sgx-hotspots – Myprogram
vtune -report gprof-cc -r r000sgxhs -group-by module
Please refer the following links for more details regarding gprof-cc :
For other report options, refer :
Thanks and Regards,
Raeesa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. I guess I missed that link when looking at the documentation, sorry for the inconvenience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for letting us know. We are discontinuing monitoring this thread. Please raise a new query if you have any further issues. We would be happy to help you.
Raeesa

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