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 <[EMAIL PROTECTED]> 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@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/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal