Manual page for PXP(1)
pxp - Pascal execution profiler and prettyprinter
name ... ] ]
can be used to obtain execution profiles of Pascal programs or as a
prettyprinter. To produce an execution profile all that is necessary
is to translate the program specifying the
execute the program, and then type the command
tutorial% pxp -z name.p
generates a reformatted listing if none of the
options are specified; thus
tutorial% pxp old.p > new.p
places a cleaned-up version of the program in
in the file
The use of the following options of
is discussed in the
Sun Pascal Progammer's Guide.
Print the bodies of all procedures and functions in the profile;
even those which were never executed.
Extract profile data from the file
Exclude declaration parts from a profile.
directives when reformatting a file; the
is replaced by the reformatted contents of the specified file.
Fully parenthesize expressions.
Left-justify all procedures and functions.
Map all identifiers and keywords to lower case.
Eject a new page as each file is included;
in profiles, print a blank line at the top of the page.
statements with an equivalent standard Pascal construction.
(This is used primarily in compiling
Strip comments from the input text.
Print a table summarizing
Card image mode; only the first 72 characters of input lines are used.
Suppress warning diagnostics.
- -z [ name ... ] name.p
Generate an execution profile. If no
are given, the profile is of the entire program.
If a list of
is given, then only the specified
and the contents of the specified
files will appear in the profile.
is a digit, 2 <=
as the basic indenting unit. The default is 4.
profile data source for
information on basic use
this manual page
Sun Pascal Programmer's Guide
For a basic explanation do
Error diagnostics include
`Program and count data do not correspond'
if the program was changed after compilation, before profiling;
or if the wrong program is specified.
Does not place multiple statements per line.
Procedures and functions as parameters are printed without
nested parameter lists, as in the obsolete Jensen and Wirth syntax.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97