Profiler for Visual Studio 2008, C++?

2019-01-07 14:35发布

问题:

Are there any good, free (or at least reasonably cheap) profilers for at least native C++ that can integrate with Visual Studio 2008 Professional?

I looked at DevPartner community edition but they seem to only support Visual Studio 2003 and 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?

回答1:

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).

But I will be watching this question to see if there are any free tools I can use at home =)



回答2:

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



回答3:

Another vote for AQTime. We've been really happy with it. But of course it's not free as you asked...

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.



回答4:

Free profiler for VS 2008: http://unick-soft.ru/Articles.cgi?id=8 It is russian article, but you can use translate google com.



回答5:

This technique is free, and works well in Visual Studio.



回答6:

http://supercomputingblog.com/windows/how-to-profile-c-code-in-visual-studio-for-free/ if you want something very simple



回答7:

Intel's VTune or AMD's CodeAnalyst are both free, I believe.