File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / prof
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



prof                         Command                         prof




Print execution profile of a C program

pprrooff [ -aabbccss ][ _p_r_o_g_f_i_l_e [ _m_o_n_f_i_l_e ] ]

pprrooff 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.

pprrooff normally reports  times and frequencies spent for regions of
programs  between  externally  defined  names.  _p_r_o_g_f_i_l_e  is  the
executable program; if omitted, ll.oouutt is assumed.  _m_o_n_f_i_l_e is the
monitor  file  produced  during  execution  of  the  program;  if
omitted, mmoonn.oouutt is assumed.

To produce  mmoonn.oouutt, a program  must be compiled  with the -VVPPRROOFF
option  to  cccc.  To profile  all  modules,  each  module must  be
compiled with this option.

The following options are available.

-aa Profile all symbols, not just externals.

-bb Print all bin information.

-cc Print all call information.

-ss Report stack usage high-water mark.

***** Files *****

ll.oouutt -- Program file (with name list intact)
mmoonn.oouutt -- Raw execution profile

***** See Also *****

cccc, ccoommmmaannddss, lldd, nnmm, pprrooffiill



















COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.