在C ++中逐行分析 [英] Profiling line-by-line in C++

查看:157
本文介绍了在C ++中逐行分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C ++程序,我试图优化。
因为我想要它运行得很快,我不使用很多函数调用。我看到的大多数profiling工具可以给你在函数调用分辨率的分析信息。然而,我想在一行一行的决议。是否有这样的选项?

I have a C++ program I am trying to optimize. Since I want it to run fast, I am not using a lot of function calls. Most profiling tool I have seen can give you profiling info in a function-call resolution. However, I would like it in a line-by-line resolution. Is there some option like this?

我在Windows上使用Visual Studio 2010。

I am using Visual Studio 2010 on Windows.

p>

推荐答案

英特尔并行放大器应该能够你想要的。如果这是你想要的:

Intel Parallel Amplifier should be capable of what you want. If that is what you want:

这篇关于在C ++中逐行分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆