Community
cancel
Showing results for 
Search instead for 
Did you mean: 
eruptionsword
Beginner
52 Views

Any way to view function data at a particular time?

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.

0 Kudos
2 Replies
Peter_W_Intel
Employee
52 Views

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

David_A_Intel1
Employee
52 Views

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

Reply