Author Topic: Code profiler/analysis tools for Windows  (Read 6128 times)

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Code profiler/analysis tools for Windows
« on: July 07, 2010, 10:32:10 AM »
I guess there are less free programs for Windows than commercial. I just found Cppcheck and I think it's quite nice. It's checking some stuff that the compiler might not warn about, like out-of-scope variables, member variable initialization and also tells which functions could be const.

A profiler could be nice, but is there a free one for Windows? Well, I could even get a commercial if it's not too expensive..

dephbokks

  • Newcomer
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Re: Code profiler/analysis tools for Windows
« Reply #1 on: July 08, 2010, 06:41:43 AM »
These are the ones I know about:

http://developer.amd.com/cpu/CodeAnalyst/Pages/default.aspx
http://valgrind.org/
http://www.codersnotes.com/sleepy
http://developer.apple.com/tools/shark_optimize.html (if on mac)

Just because I know about 'em doesn't mean I use 'em so I guess what I am saying is let us know which ones were useful!

-good luck

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: Code profiler/analysis tools for Windows
« Reply #2 on: July 08, 2010, 07:10:27 AM »
- AMD Analyst -> for AMD only, sucks
- Valgrind -> for Linux/Mac only, sucks
- Shark -> for Mac only, sucks

Verysleepy was ok, but it doesn't seem to understand debug information of gcc generated .exe so it's kind of useless there (showing only memory address of function). I think it could work with Visual C++ shit and that information could be used in gcc optimization also to spot possible slow routines.