Community
cancel
Showing results for 
Search instead for 
Did you mean: 
marcpawl
Beginner
50 Views

profile program launched from other program

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").
0 Kudos
2 Replies
bnshah
Beginner
50 Views

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.
Intel_C_Intel
Employee
50 Views

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