[Ecls-list] ECL shootout

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Jun 30 21:50:09 UTC 2009


On Tue, Jun 30, 2009 at 11:45 PM, Gabriel Dos
Reis<gdr at integrable-solutions.net> wrote:
>> 3) Run the program I want to profile and inspect the logs
>
> Does step 3) work reliablly with shared libraries, e.g. libecl.so?  I
> was under the impression that shared libraries are not well with
> gprof?

That is probably operating system dependent, and it also depends on
whether the library is compiled with the -pg flag or not (I forgot
that flag in my previous email, but it is only needed for gprof not
for OS X's Shark). Shark does fine, and goes deep into the function
call tree, but precisely because it stores a lot of information it can
only be used for short periods of time.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list