[fpc-pascal] RE: FPC and Profiling software

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Mar 13 11:26:49 CET 2008


Thanks Jeff.

That seems to work fine with my project under Linux. Now I only need
to learn the format and meaning of all the numbers in callgrind.log
file.  But I'm sure the website or man pages will give info on that.

Thanks again...

Regards,
  - Graeme -



On 13/03/2008, Jeff Pohlmeyer <yetanothergeek at gmail.com> wrote:
> Graeme Geldenhuys wrote:
>
>  > I'm trying to detect where bottlenecks occur in my code.
>
>
> On Linux, you can get some interesting information with something like this:
>
>  % valgrind --tool=callgrind  [YOUR_APP]  [YOUR_ARGS]
>  % callgrind_annotate --auto=yes --inclusive=yes > callgrind.log
>
>  And then have a look at "callgrind.log"
>
>  To use this, just be sure you do NOT compile your app with -pg !
>
>  More info at http://valgrind.org/
>
>   - Jeff
>  _______________________________________________
>  fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>  http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list