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?
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 =)
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
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.
Free profiler for VS 2008:
http://unick-soft.ru/Articles.cgi?id=8
It is russian article, but you can use translate google com.
This technique is free, and works well in Visual Studio.
http://supercomputingblog.com/windows/how-to-profile-c-code-in-visual-studio-for-free/ if you want something very simple
Intel's VTune or AMD's CodeAnalyst are both free, I believe.