Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use VS2003

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to use VS2003, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!

1. Install it first, and then appear in the menu of VS2003:

The following dialog box appears after selecting "Native C + Instrument Manager...", which is used to control the parsing of the current Solution project specified in Calgam. the so-called profiling, DevPartner is to insert some performance monitoring code into the generated code, and dynamically collect performance data through these codes when the project is actually running.

two。 After you specify the project, you also need to select the following menu

Note that compared with the menu in the figure above, there is an extra black box in the menu icon after the two menus marked by the red line are clicked, indicating that the two menu items can be selected independently. Selecting * * indicates that performance data will be collected during the next run (such as through CTRL+F5), and the following menu item is selected to indicate that the next compilation link will be inserted into the monitoring code. The message that appears when the link is actually compiled in the following figure indicates that DevPartner is inside your code:

Select * menus and run the program through IDE. After the program exits, a "project" is automatically added to the current solution, as follows:

When you select Remove, you will be prompted to save the project, and the saved file contains the performance profile data collected during this run time. The "Add existing Item..." on it. Then you can load the saved session. In practice, it is often necessary to load two sets of performance profile data at the same time for comparison. By the way, show has a tip for comparing two files in IDE at the same time:

3. The following is how the collected performance profiling data is displayed in IDE's Editor:

Take the function as the unit, mark the time consumption of each function. I added the noise in the picture on purpose to prevent the company from saying that I leaked the source code. Right-clicking on each function has further benefits:

The elements in the Call Graph above can also be dragged with the mouse, and you can click the +-sign to expand and shrink the detail view. Choose to view the source code to navigate directly to the appropriate code line:

4. * take a look at the option page added by DevPartner in VS2003. I didn't take a closer look at it. I don't have to say anything about the specific use of VS2003.

The above is all the contents of the article "how to use VS2003". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report