views:

22982

answers:

10

Hi, I'm looking for a profiler in order to find the bottleneck of my c++ code. I'd like to find a free, non intrusive, good profiling tool. I'm a game developer and I use PIX for Xbox360, I found it very good (but not free) I know the Intel v-Tune, but it's not free.

There exists any free profiling tool?

+23  A: 

AMD Code Analyst is free, but not as advanced as VTune. There's also Sleepy, which is very simple, but does the job in many cases.

yrp
thank you :) i'm going to analyze in depth your link!
ugasoft
Thanks for sleepy. Very sleepy.
ragu.pattabi
Does anyone have a copy of Very Sleepy? I can't seem to download it from their website.. :(
krebstar
Here is the link for CodeAnalyst: http://developer.amd.com/CPU/CODEANALYST/Pages/default.aspx
epotter
A: 

While it may not be free, ANTS Code Profiler by Red Gate software is very comprehensive.

www.red-gate.com and the ANTS Profiler page

A: 

I've used "TrueTime - part of Compuware's DevPartner suite for years. There's a free version available.

Harold Ekstrom
A: 

I use AQTime, it is one of the best profiling tools I've ever used. It isn't free but you can get a 30 day trial, so if you plan on a optimizing and profiling only one project and 30 days are enough for you then I would recommend using this application. (http://www.automatedqa.com/downloads/aqtime/index.asp)

dudico
A: 

On linux, valgrind (specifically valgrind --tool=cachegrind ), combined with KCacheGrind might be suitable.

therefromhere
+2  A: 

Microsoft has there Windows Performance Analysis tools. http://msdn.microsoft.com/en-us/performance/default.aspx

It does require Vista, 2008, or Win7

epotter
+1  A: 

I use VSPerfMon which is the StandAlone Visual Studio Profiler. I wrote a GUI tool to help me run it and look at the results.

http://code.google.com/p/vsptree/

+3  A: 

A new addition is Shiny:

http://sourceforge.net/projects/shinyprofiler/

Buggieboy
+4  A: 

Proffy is quite cool: http://pauldoo.com/proffy/

Disclaimer: I wrote this.

pauldoo
+1 for Disclaimer ;)
VOX
+4  A: 

Very Sleepy is a C/C++ CPU profiler for Windows systems. (free)

lsalamon