COHERENT manpages
This page displays the COHERENT manpage for prof [Print execution profile of a C program].
List of available manpages
Index
prof -- Command Print execution profile of a C program prof [ -abcs ][ progfile [ monfile ] ] prof interprets the profile file produced by an execution of a C program and reports the execution frequencies of each routine. It also reports the percentage of execution time spent in each routine. prof normally reports times and frequencies spent for regions of programs between externally defined names. progfile is the executable program; if omitted, a.out is assumed. monfile is the monitor file produced during execution of the program; if omitted, mon.out is assumed. To produce mon.out, a program must be compiled with the -VPROF option to cc. To profile all modules, each module must be compiled with this option. The following options are available. -a Profile all symbols, not just externals. -b Print all bin information. -c Print all call information. -s Report stack usage high-water mark. Files a.out -- Program file (with name list intact) mon.out -- Raw execution profile See Also cc, commands, ld, nm