- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
Is there any way of extracting the call sequence info of an application with VTune or even PTU?
I mean if I code something like this:
main(){
f1();
f2();
}
versus
main(){
f2();
f1();
}
how can I get a call graph or something that can tell the difference. Is this even possible with VTune or PTU?
Thanks,
Emad
Is there any way of extracting the call sequence info of an application with VTune or even PTU?
I mean if I code something like this:
main(){
f1();
f2();
}
versus
main(){
f2();
f1();
}
how can I get a call graph or something that can tell the difference. Is this even possible with VTune or PTU?
Thanks,
Emad
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just came across your post. It may be too late but I will still vebture to answer:
in PTU you have the statistical callgraph - sampling the call stack at specified intervals - intrusion level very low
or the callgraph in vTune which will give the exact picture but the intrusion level is way higher as for the PTU statistical callgraph.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The short answer is, no. Both tools build a "call tree" and do not maintain order of calls. You can "drill down" to the source code and view the order there.
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