- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to look at function data for a particular time frame? For example, let's say I want tolook at how many times a function is calledstarting from the 5th second after my program begins until the program ends. I tried using Vtune's call graph but that seems only to display function data for the ENTIRE run of the program.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please use Sampling Over Time view function, that helps you to filter data from results based on specific time range, or you can use/call VTuneAPI in your code to control data collection.
Refer tohttp://cache-www.intel.com/cd/00/00/21/93/219345_sampling_vtune.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Basically, you can use the Pause and Resume control of the VTune analyzer to do what you want. First, configure the activity to "start with data collection paused" and then either use the Pause button in the tool bar or insert calls to the Pause/Resume APIs into your code. Now you can control *when* data is collected.
Regards,
Mr.Anderson

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