1PROF(1)                     General Commands Manual                    PROF(1)
2
3
4

NAME

6       prof - display profile data
7

SYNOPSIS

9       prof [ -v ] [ -a ] [ -l ] [ -low [ -high ] ] [ file ]
10

DESCRIPTION

12       Prof  interprets  the  file mon.out produced by the monitor subroutine.
13       Under default modes, the symbol table in the named object  file  (a.out
14       default)  is  read  and  correlated with the mon.out profile file.  For
15       each external symbol, the percentage of time  spent  executing  between
16       that  symbol  and  the  next is printed (in decreasing order), together
17       with the number of times that routine was called and the number of mil‐
18       liseconds per call.
19
20       If  the  -a  option  is used, all symbols are reported rather than just
21       external symbols.  If the -l option is used, the output  is  listed  by
22       symbol value rather than decreasing percentage.
23
24       If the -v option is used, all printing is suppressed and a graphic ver‐
25       sion of the profile is produced on the standard output for  display  by
26       the  plot(1)  filters.  The numbers low and high, by default 0 and 100,
27       cause a selected percentage of the profile to be plotted  with  accord‐
28       ingly higher resolution.
29
30       In  order  for  the  number of calls to a routine to be tallied, the -p
31       option of cc must have been given when the file containing the  routine
32       was  compiled.   This  option  also arranges for the mon.out file to be
33       produced automatically.
34

FILES

36       mon.out  for profile
37       a.out    for namelist
38

SEE ALSO

40       monitor(3), profil(2), cc(1), plot(1)
41

BUGS

43       Beware of quantization errors.
44
45
46
47                                                                       PROF(1)
Impressum