性能分析工具

VC++ 性能分析工具

 

1.  VS(2010及以上版本)自带的性能分析工具(Profile)

 

应用程序性能分析利器 --- VisualStudio Profiler

http://www.cnblogs.com/tankery/archive/2010/07/24/1784098.html

 

初探VS2010中的Profile(性能剖析)功能:

http://blog.csdn.net/hireboy/article/details/8961281

 

通过VS2010性能分析来查找代码中那些地方最损耗资源:

http://www.cnblogs.com/smark/archive/2011/10/12/2208039.html

 

 

2.  vtune(跨平台分析工具,也可集成在VS上)

 

VTune工具使用心得:

http://qiusuoge.com/12069.html

 

Vtune 使用一 (初探): (系列)

http://blog.csdn.net/anialy/article/details/8149309

 

Intel VTune分析结果中的名词释译:  

http://blog.chinaunix.net/uid-26000296-id-3369740.html

 

 

3. DEVPARTNER插件(可集成在VS上),也具有内存泄露检测功能

 

DevPartnerStudio Professional Edition 11 内存泄露检测使用:

http://blog.csdn.net/akof1314/article/details/8434499

 

测试工具DevPartner介绍:

http://www.docin.com/p-659626063.html

 

How To Resolve DevPartner Injector Errors:

http://community.microfocus.com/borland/develop/devpartner_-_code_analysis/w/knowledge_base/22954.how-to-resolve-devpartner-injector-errors.aspx

  

解决Devpartner Injector Error, 例如(ErrorAlreadyExist)

How To Resolve DevPartner Injector Errors

Problem: 

Erroneous Injector errors occur when profiling under ErrorDetection. 

 

Solution:  

1.
 Close all running instances of Visual Studio

2.  Navigate to C:\Program Files (x86)\Common Files\Micro Focus\NMShared\Injector\2.xx (See fig 1)


3. Click on InjectorMonitor.exe

4. If the "Driver" is not started, start theDriver.  Your driver is not started if the button is not"grayed out".  In the image below, the driver isalready started (See fig 2) 

5. Click Add Sample Entries (See fig 3) 

6. Click Test injection
At this point Notepad should appear with a dialog box from theInjectorMonitor stating that injection was successful (See fig 4)

7. Restart Visual Studio and try to instrument your application again.

8. If errors still occur with injection, open a Support ticket andprovide screen shots of the error and a build log.

Note: If the injector was not installed (buttonnot grayed out) and you installed the driver as a result of step 3. Your registry will now contain the valid information required for the injectordriver to execute.

 


 GCC C++ 性能分析工具(for linux)



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值