- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The targetplatform is XScale. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Dlanders, I have used some hardwaresource to check the timing of each cycle.
Patrick

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