1. applications to be verifiedProgramThe following startup tool aims to ensure the consistency of the environment and follow up debugging. Method: Start the CMD product, set the environment variable, and enter vtuneenv.
2. select "new", "analyzer projects", "Call Graph wizard", and "OK". Select the type to be debugged. Next, select the executable program to be debugged in application, enter the required parameters in "command line arguments" and click Finish.
3. at this time, vtune will automatically analyze the call relationship of each function, and then click Start (that is, the green triangle in the toolbar). After the program is executed, you can also manually stop the task (the red box on the toolbar). At this time, vtune automatically analyzes and loads the visualized chart to view it clearly. Including the number of calls and CPU time.
4. If the application to be tested needs to be associated with many processes, you can modifySource codeSo that the process to be debugged does not start by default (because vtune is required to start), and then starts the product to start the process to be tested.