Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

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

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

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

Patrick

0 Kudos
Reply