Berkeley Pascal PXP Implementation Notes

Version 1.1 - April, 1979


William N. Joy*

Computer Science Division
Department of Electrical Engineering and Computer Science
University of California, Berkeley
Berkeley, California 94720


ABSTRACT

Berkeley Pascal is designed for interactive instructional use and runs on the PDP 11 family of computers. A version of pxp for the VAX 11/780 is nearly complete. The Pascal execution profiler pxp can be used to generate restructured source program listings which are annotated with counts of the number of times each statement in the profiled parts of the program was executed for a particular run of the program. A number of options of pxp provide easy control over the parts of the program to be profiled. pxp can also be used to produce restructured program listings, i.e. as a pretty-printer.

The PXP Implementation Notes describe the design decisions which lead to the present form of pxp and give details of the internal organization. The notes conclude with thoughts on similar facilities for future systems.


Table of Contents