Forrest logo
back to context overview

gprof

List of commands for gprof:

  • gprof:tldr:038a0 gprof: Compile binary with gprof information and run it to get `gmon.out`.
    $ gcc -pg ${program-c} && ${--a-out}
    try on your machine
    explain this command
  • gprof:tldr:2b65b gprof: Run gprof to obtain profile output.
    $ gprof
    try on your machine
    explain this command
  • gprof:tldr:324bf gprof: Display routines that have zero usage.
    $ gprof -bz
    try on your machine
    explain this command
  • gprof:tldr:44c5e gprof: Suppress profile field's description.
    $ gprof -b
    try on your machine
    explain this command
back to context overview