Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

monitor(3c)

profil(2)

cc(1)



PROF(1)                 COMMAND REFERENCE                 PROF(1)



NAME
     prof - display profile data

SYNOPSIS
     prof [ -a ] [ -l ] [ -n ] [ -s ] [ -z ] [ -v [ -low [ -high
     ] ]]
     [ a.out [ mon.out ... ]]

DESCRIPTION
     Prof interprets the file produced by the monitor 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 executing 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.

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

OPTIONS
     -a all symbols are reported rather than just external
        symbols.

     -l the output is sorted by symbol value.

     -n the output is sorted by number of calls.

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

     -v all printing is suppressed and a graphic version of the
        profile is produced on the standard output for display by
        the plot filters.  When plotting, the numbers low and
        high, by default 0 and 100, may be given to cause a
        selected percentage of the profile to be plotted with
        accordingly higher resolution.

     -z routines which have zero usage (as indicated by call
        counts and accumulated time) are nevertheless printed in
        the output.

FILES
     mon.out   For profile

     a.out     For namelist




Printed 4/6/89                                                  1





PROF(1)                 COMMAND REFERENCE                 PROF(1)



     mon.sum   For summary profile

CAVEATS
     Prof may give quantization errors.

SEE ALSO
     monitor(3c), profil(2), and cc(1).
















































Printed 4/6/89                                                  2



%%index%%
na:240,79;
sy:319,389;
de:708,1067;
op:1775,1044;
fi:2819,133;3264,48;
ca:3312,159;
se:3471,202;
%%index%%000000000130

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026