Code Profiling on AMD Systems? 35
streak writes "After looking around at some profilers for AMD chips (I'm currently developing on Windows .NET so oprofile, dtrace, and other open source profilers are out) like AMD's CodeAnalyst and Microsoft's .NET Profiler, I've seen nothing that even comes close to being useful for function timing, call graphs, and the like. I'm not looking for micro-optimization (i.e. assembly tweaking - I am after all in .NET), but more for macro-optimization (identifying slow functions, reducing number of repeated calls to functions, etc). What I'm comparing all these tools to is VTune (which is Intel only). What do people use for profiling on AMD systems on Windows? Do you develop on an Intel box, do macro-optimization with VTune, and then just run that code on the AMD system?"
Use VTune (Score:4, Insightful)
The intel tools are absolutely fantastic and integrate perfectly with VS and most other
I have't worked much with
Re:Use VTune (Score:1, Informative)
Re:Use VTune (Score:2)
Re:Use VTune (Score:3, Interesting)
Re:Use VTune (Score:2)
Re:Seriously, have you heard of google? (Score:1)
Seriously, have you heard of RTFA? (Score:2)
He mentioned CodeAnalyst in the first sentence or too. I've used it before and it's not all that great.
Re:Seriously, have you heard of google? (Score:1)
Re:Seriously, have you heard of google? (Score:1)
What the hell are you talking about? (Score:2)
Use VTune, BoundsChecker, valgrind (not Windows), Purify, gprof, or any other profiler.
???
VTune is what you want (Score:2)
At a micro level you will get into all kinds of problems with different memory timings (especially on dual+ socket systems), but macro level you can't beat the complier that comes with VTune.
DevPartner Suite from Compuware is quite passable (Score:3, Informative)
I don't think it's cheap, but I've never seen a more elegant solution.
Re:DevPartner Suite from Compuware is quite passab (Score:1)
I've used both DevPartner Profiler (aka TrueTime) and Rational/IBM's Quantify. Both were roughly the same in functionality. They were both somewhat flakey at times as well (crashing, wrong results, no results).
DevPartner Suite was reasonably priced and, if I recall, contained a more tools in its suite (compared to Rational Purify Plus -- which Quantify is a part). It's always a struggle to get to work in my experience and I often have to spend lots of times messing with s
Just out of curiosity... (Score:2)
What gave you the idea that a program running on AMD will make a different number of function calls than the same program running on Intel?
Re:Just out of curiosity... (Score:1)
Re:Just out of curiosity... (Score:2)
What gave you the idea that this is what he asked? He asked to see if anyone knew of a good profiler for AMD processors, since obviously the Intel ones won't work (be it for marketing or technical reasons). He said that he wanted to profile his code, to find bottlenecks, not to find the different bottlenecks between AMD and Intel.
R.I.F.
.NET profiling? (Score:3, Informative)
Re:Dear slashdot (Score:2, Funny)
Since you havent provided any more details I'm asuming you want to run barefeet. There are no shoelaces involved.
Please consult your local high voltage line.
jetbrains dottrace profiler (Score:4, Informative)
Re:jetbrains dottrace profiler (Score:1, Informative)
Look before you leap (Score:2)
U L
Re:Look before you leap (Score:2, Funny)
The idea of GNU started with a printer driver. Linux started entirely independently as a terminal emulator. Get your facts straight before you poke fun.
Re:Look before you leap (Score:1, Troll)
Did you notice the GNU/Linux part ?
August 1991
``Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. I've currently ported bash(1.08) and gcc(1.40), and things seem to work. "
If it wasn't for GCC and the GNU GPL, chances are there would be no Linux today, just a Minix clone.
Linux set the industry back 20 years, but hey, we'll cope.
AutomatedQA's AQTime (Score:4, Informative)
Check out AQTime [automatedqa.com].
I use it for profiling big multi-threaded client/server applications and it usually comes in handy at spotting memory leaks and the bottlenecks in the code.
I use it with Delphi's native win32 compiler, but it supports a wide array of platforms. I believe it supports everything you need on .NET and the price tag is quite affordable.
Ants (Score:2, Informative)
VSTS has an OK profiler (Score:1)