Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!linus!philabs!cmcl2!seismo!cbosgd!ucbvax!tle.DEC!glossop From: glossop@TLE.DEC (Kent Glossop) Newsgroups: mod.computers.vax Subject: Re: Runtime profiling Message-ID: <8511080237.AA29900@decwrl.DEC.COM> Date: Thu, 7-Nov-85 19:56:25 EST Article-I.D.: decwrl.8511080237.AA29900 Posted: Thu Nov 7 19:56:25 1985 Date-Received: Sun, 10-Nov-85 04:05:26 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 38 Approved: info-vax@ucbvax.berkeley.edu DEC sells both the Software Performance Monitor (SPM), which is oriented toward system performance analysis, and the Performance and Coverage Analyzer (PCA), which is oriented toward a single user-mode program. Judging from your message, PCA is probably what you want. Briefly, PCA allows you to collect the following information about your program: o PC samples (using a fixed interval timer) o Counter information by routine, line, codepath, instruction, etc. o Coverage information for the same units as counters. o System service / RMS use information o Pagefault information You can display the performance data as tables, graphs, or (when appropriate) as information in an annotated source display somewhat along the lines of VAX Debug. The tool can be used with any compiler on VMS that generates Debug information (all DEC-provided VMS compiled languages that I am aware of), including C, Ada, Pascal, FORTRAN, PL/I, ... Information can be collected for Macro as well, although the data cannot be displayed as an annotated listing for Macro modules at this time. PCA is very similar to VAX Debug both in terms of the user interface and in it's ability to handle multiple languages, etc. It is also integrated into the VMS tool set. (For example, you can plot performance data for a program vs source lines and then invoke the Language Sensitive Editor directly, which will position you to the module and line that you were looking at in the performance display, etc.) Note: I have provided the above information as an individual - it is not official DEC information, etc. Kent Glossop UUCP ...decwrl!dec-rhea!dec-tle!glossop Technical Languages and Environments ARPA glossop%tle.DEC@decwrl.ARPA Digital Equipment Corp.