Visual Studio 2008、C++ 的探查器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/292457/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Profiler for Visual Studio 2008, C++?
提问by Fire Lancer
Are there any good, free (or at least reasonably cheap) profilers for at least native C++ that can integrate with Visual Studio 2008 Professional?
对于至少可以与 Visual Studio 2008 Professional 集成的本机 C++,是否有任何好的、免费的(或至少相当便宜的)分析器?
I looked at DevPartnercommunity edition but they seem to only support Visual Studio 2003 and Visual Studio 2005.
我查看了DevPartner社区版,但它们似乎只支持 Visual Studio 2003 和 Visual Studio 2005。
Failing that are there any good free/cheap profilers in general that I can get working with VS with relativly little friction?
如果失败,一般来说有没有好的免费/便宜的分析器,我可以在相对较小的摩擦下与 VS 一起工作?
回答by Filip Fr?cz
At my workplace we use AQTime. It's not free ($600 or 30-day trial) but it really works wonders. I like it because it can handle both native (we do C++) and managed code. It works in stand-alone mode, integrates with Visual Studio, and also works with Borland's IDE (for those C++ Builder and Delphi fans out there).
在我的工作场所,我们使用AQTime。它不是免费的(600 美元或 30 天试用期),但它确实创造了奇迹。我喜欢它,因为它可以处理本机(我们使用 C++)和托管代码。它在独立模式下工作,与 Visual Studio 集成,还可以与 Borland 的 IDE 一起使用(适用于那些 C++ Builder 和 Delphi 粉丝)。
But I will be watching this question to see if there are any free tools I can use at home =)
但是我会关注这个问题,看看有没有我可以在家里使用的免费工具=)
回答by Davide Quack
Microsoft actually provides a stand-alone verson of the profiler, which you can use from the command-line. http://www.microsoft.com/downloads/details.aspx?familyid=fd02c7d6-5306-41f2-a1be-b7dcb74c9c0b&displaylang=en
Microsoft 实际上提供了分析器的独立版本,您可以从命令行使用它。 http://www.microsoft.com/downloads/details.aspx?familyid=fd02c7d6-5306-41f2-a1be-b7dcb74c9c0b&displaylang=en
回答by rogerdpack
http://supercomputingblog.com/windows/how-to-profile-c-code-in-visual-studio-for-free/if you want something very simple
http://supercomputingblog.com/windows/how-to-profile-c-code-in-visual-studio-for-free/如果你想要一些非常简单的东西
回答by Peter
Another vote for AQTime. We've been really happy with it. But of course it's not free as you asked...
再次投票给 AQTime。我们对此非常满意。但当然它不是你问的免费......
I tried CodeAnalyst once but as far as I could see it was doing polling rather than instrumentation, and hence gave fairly crude results. Haven't found any free profilers for Windows that I liked better than that.
我曾尝试过 CodeAnalyst,但据我所知,它是在进行轮询而不是检测,因此给出了相当粗糙的结果。还没有找到任何我更喜欢的适用于 Windows 的免费分析器。
回答by Peter
Free profiler for VS 2008: http://unick-soft.ru/Articles.cgi?id=8It is russian article, but you can use translate google com.
VS 2008 的免费分析器:http: //unick-soft.ru/Articles.cgi?id=8这是俄文文章,但您可以使用翻译 google com。
回答by Mike Dunlavey
This techniqueis free, and works well in Visual Studio.
这种技术是免费的,并且在 Visual Studio 中运行良好。
回答by jalf
Intel's VTune or AMD's CodeAnalyst are both free, I believe.
我相信 Intel 的 VTune 或 AMD 的 CodeAnalyst 都是免费的。