Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-11

Profiling FPC executables

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alan Mead

I'm writing a simulation that will take hours or days to run. I've never used formal profiling tools but this seems like a good opportunity. I'm working on Linux and I'm still using FPC 1.0.10. What tools are available to me?

Thanks!

-Alan

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

Reply by email

Peter Vreman
to Alan Mead
I'm writing a simulation that will take hours or days to run. I've never used formal profiling tools but this seems like a good opportunity. I'm working on Linux and I'm still using FPC 1.0.10. What tools are available to me?

For the moment only gprof. Maybe in the future also valgrind/cachegrind

Compile your program with -pg
Start your program (this will generate a gmon.out) Run gprof <executable>

Reply by email

Alan Mead
to Peter Vreman: For the moment only gprof. Maybe in the future also valgrind/cachegrind Compile your…

Thanks Peter and Marco! This is very helpful.

-Alan

Show quoted text 12 lines
For the moment only gprof. Maybe in the future also valgrind/cachegrind Compile your program with -pg Start your program (this will generate a gmon.out) Run gprof <executable> _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

Reply by email