prof man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

prof(1)								       prof(1)

Name
       prof - profile an object file

Syntax
       prof [-a] [-l] [-n] [-z] [-s] [-v] [low[-high]]] [file1[file2...]]

Description
       The  command  interprets	 the  file  produced by the subroutine.	 Under
       default modes, the  symbol  table  in  the  named  object  file	(a.out
       default)	 is  read  and	correlated  with  the  profile	file  (mon.out
       default).  For each external symbol, the percentage of time spent  exe‐
       cuting  between	that  symbol  and  the	next is printed (in decreasing
       order), together with the number of times that routine was  called  and
       the  number of milliseconds per call.  If more than one profile file is
       specified, the output represents the sum of the profiles.

Options
       In order for the number of calls to a routine to	 be  tallied,  the  -p
       option  of or must have been given when the file containing the routine
       was compiled.  This option also arranges for the	 profile  file	to  be
       produced automatically.

       -a   Displays all symbols rather than just external symbols.

       -l   Displays output by symbol value.

       -n   Displays output by number of calls.

       -s   Summary  profile file is produced in mon.sum.  This is useful only
	    when more than one profile file is specified.

       -v   Produces graphic output for display by the	filters.   When	 plot‐
	    ting,  the	numbers	 low  and  high,  by default 0 and 100, may be
	    given, which causes a selected percentage of  the  profile	to  be
	    plotted with accordingly higher resolution.

       -z   Routines  having zero usage, as indicated by call counts and accu‐
	    mulated time, are printed in the output.

Restrictions
       Beware of quantization errors.

       The command causes confusion because the entry points are at the bottom
       of subroutines and functions.

Files
       mon.out	for profile
       a.out	for namelist
       mon.sum	for summary profile

See Also
       cc(1), plot(1g), profil(2), monitor(3)

				      VAX			       prof(1)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net