Re: Profiler?



If I try to make an assumption (and I could get this wrong) and assume
by Ada you mean GNAT and then assume that perhaps you mean Linux I can
say that gprof is actually an "ok" profiler. It is not great but it gets
the job done.


Based in that same assumption, I've used successfully valgrind and
kcachegrind with nice results, also for multitasking programs. Oprofile
was in my list of things to look at that I never reached.

One additional one which I find even more convenient is sysprof on linux,
since it will monitor the whole system, you can start it whenever you want
(ie you don't have to profile since the startup of your application), and
has a nice GUI to examine the results
.



Relevant Pages

  • Re: while loop causes cpu to reach 100%
    ... | Which "profiler" do you recommend for tasks like this one? ... On Linux, gprof should be available, ...
    (comp.unix.programmer)
  • Re: How to compare algorithms in linux
    ... In matlab we have flops command for this purpose, ... such command in linux. ... It does sound like the OP is needing some sort of profiler, ...
    (comp.os.linux.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)
  • Re: while loop causes cpu to reach 100%
    ... On Linux, gprof should be available, ... sysprof and probably valgrind might be of some help too. ... Google for "linux profiler" for more. ...
    (comp.unix.programmer)
  • Re: Tools for Instrumentation of Application Binaries on Linux
    ... The reason I stress about it is I want to use a profiler in my project ... > lists some of the options available on Linux (in the Features ...
    (comp.os.linux.development.system)