- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to profile program A, which is launched on windows using CreateProcess in program B. How do I get the profiling information for A?
Using Microsoft's profiling tool I can create a new program A' that calls ::CreateProcess("profile A").
Using Microsoft's profiling tool I can create a new program A' that calls ::CreateProcess("profile A").
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using call graph or sampling? If you are using sampling it is system wide so you can just tell VTune to launch program B or not to launch anything at all. It will collect system wide information so you should see profiling data for program A and B. If you are using call graph tell call graph to launch program B. Then in the modules of intersest window remove program B and add program A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In addition to what Birju said, for call graph you can tell to run nothing and then in the modules of interest window add program A. If you will choose this way, do not forget to press Stop button after program A will finish.
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