CmdID

CmdID / Commands

gprof

Performance analysis tool for many programming languages. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Performance analysis tool for many programming languages. It profiles the function executions of a program.

Compile binary to default a.out with gprof information and run it to get gmon.out

gcc -pg program.c && ./a.outIdentify

Run gprof on default a.out and gmon.out to obtain profile output

Run gprof on a named binary

gprof path/to/binary path/to/gmon.outIdentify

Suppress profile field's description

gprof --briefIdentify

Display routines that have zero usage

gprof --brief --display-unused-functionsIdentify