- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a function that performs a different amount of processing each time that it is called. I would like obtain a histogram of the processing time used per function call, i.e. the probability distribution of processing per call. (The function is going into a real-time system; I need to characterize its CPU utilization.) Is there a way to do this with VTune or its APIs?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not without modifying your code. That is, the analyzer won't do this automatically. If you create a performance counter for your application, you can report this data via the performance counter subsystem in Microsoft* Windows* and the VTune analyzer can display it and correlate it with sampling data.
Call graph can display "average time per call", but not actual time per call. It also doesn't display it in a histogram.
![](/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