Introduction to Intel vtune tool (Windows)

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.