jon@CIT-VAX.ARPA (Jonathan P. Leech) (11/07/85)
Does anyone know of software which can do runtime profiling of DEC C programs under VMS 4.x? Thanks, Jon Leech (jon@cit-vax.arpa) __@/
DEAN@engvax.UUCP (11/07/85)
DEC sells a package which does runtime profiling of code. It is called VAX Software Performance Monitor, or VAX SPM for short. It allows program tuning based on either clock-driven sampling, or trace-driven sampling. In addition, the package can help with system tuning and accounting. I have used the programing tuning portion, and was satisfied, but felt that it would not be useful until the final stages of programming. The system tuning portion of the package provides interesting data on how your system runs. The big deficency here is that is does not appear to acknowledge the fact that we have eagles, so we can not get a realistic IO estimate from it. This seems to be because the eagles are on a massbus adaptor. Dean Stephan { engvax!dean@CIT-VAX.ARPA } Hughes Aircraft Company
glossop@TLE.DEC (Kent Glossop) (11/08/85)
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.
sasaki@HARVARD.HARVARD.EDU (Marty Sasaki) (11/18/85)
Stew Rubinstein (stew@harvard) has a PC run time profiler that appears to work pretty well. I used it briefly a while ago. Marty Sasaki