Community
cancel
Showing results for 
Search instead for 
Did you mean: 
payu
Beginner
68 Views

Can I use VTune API to get running time of some functions in each cycle?

Can I use VTune API to get running time of some functions in each cycle?
I want to get the running time ofsome functions in each cycle, because the function cost different running time in each cycle.
Isaw the vtuneapi.h ininclude folder, and the vtuneapi.lib inlib folder. How can I use that for my aim?
Thanks in advanced,
Patrick
0 Kudos
3 Replies
payu
Beginner
68 Views

The targetplatform is XScale. Thanks.
Anonymous24
Beginner
68 Views

payu:

Currently, the XScale technology data collector does not support the Pause/Resume APIs (this is what is provided in VTuneAPI.lib). Nor is there a call graph collector.

The Pause/Resume APIs only allow you to control in what regions of your code data is collected. Since there is no timing information from sampling data, you would not get any timing information with or without the APIs. Sorry.

-dlanders

payu
Beginner
68 Views

Thanks Dlanders, I have used some hardwaresource to check the timing of each cycle.

Patrick

Reply