Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4995 Discussions

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

payu
Beginner
561 Views
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
561 Views
The targetplatform is XScale. Thanks.
0 Kudos
Anonymous24
Beginner
561 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

0 Kudos
payu
Beginner
561 Views

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

Patrick

0 Kudos
Reply