lprof
There are two profilers
available for dynamic analysis of C programs written
in a UNIX System environment:
-
the prof tool performs
time-profiling; it reports how much time
is spent executing various portions
of a program
-
the lprof tool performs
line-by-line frequency-profiling;
it reports how many times
each line of source code is executed
This chapter explains the use of lprof; refer
to the
prof(CP)
manual page for information on using prof.
Next topic:
Creating a profiled version of a program
Previous topic:
C programmer's productivity tools
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003