Re: Profiler on Linux



Martin Gieseking wrote:
I'm looking for a profiler that will tell me what percentage of time is
being spent in certain functions.


Have you already tried "gprof"? It's the GNU command line profiler that
works easily together with the gcc compilers.

If gprof is insufficient for some reason there is also Intel's VTune Performance Analyzer for Linux.

http://www.intel.com/cd/software/products/asmo-na/eng/vtune/239143.htm

However, gprof is probably sufficient for most users and is free.
.



Relevant Pages

  • Re: gprof
    ... I'd like to use a similar tool like the profiler for m code, ... printf; ... Take care about function inlining when compiling with ... Otherwise, gprof results may be ...
    (comp.soft-sys.matlab)
  • Re: Profiler on Linux
    ... Have you already tried "gprof"? ... It's the GNU command line profiler that ... works easily together with the gcc compilers. ...
    (comp.os.linux.misc)
  • Re: gprof
    ... I know gprof was originally designed ... I found a reference to Dependency Walker on ... I'd like to use a similar tool like the profiler for m code, ... Latent times, initialization time, an algorithm utilized in mdlOutputs. ...
    (comp.soft-sys.matlab)
  • Re: gprof bug on Mac OS X?
    ... Apple's Shark profiler works well ... > and I personally find it to be greatly superior to any other profiler I've ... Saturn is Apple's adoption of gprof and offers much the same GUI ...
    (comp.sys.mac.programmer.misc)
  • Re: Profiler?
    ... by Ada you mean GNAT and then assume that perhaps you mean Linux I can ... say that gprof is actually an "ok" profiler. ...
    (comp.lang.ada)