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

Reply via email to