/sys$common/syshlp/HELPLIB.HLB  —  PCA  Analyzer
    The Analyzer processes the data in a performance data file to
    produce histograms, tables, and other reports. The Analyzer
    enables you to interactively examine the gathered data in various
    ways until performance bottlenecks are pinpointed or code not
    covered by testing is identified.

    To invoke the Analyzer, use the PCA command at DCL level. This
    command accepts the name of a performance data file created by
    the Collector as a parameter. For example, to run the Analyzer on
    the performance data file PRIMES.PCA, use this command:

  $ PCA PRIMES

        Performance and Coverage Analyzer for OpenVMS Version V5.1

  PCAA>

    The PCAA> prompt indicates that The Analyzer is ready to accept
    Analyzer commands. For example, the user may just enter the
    NEXT command at this point. It will display a source plot of the
    program's routine with the most PC-sampling data points. In the
    plot, the line with the most data points will be pointed to by an
    arrow (->). In other words, the NEXT command will show where the
    program is spending most of the execution time.

  PCAA> NEXT

          Performance and Coverage Analyzer for OpenVMS          Page 1

      Program Counter Sampling Data (192 data points total) - "*"

                        Routine PRIME\PRIME

  Percent   Count    Line
  PRIME\PRIME\
    0.5%               5:       LOGICAL FUNCTION PRIME(N)
    1.6%               6:       PRIME = .TRUE.
    0.5%               7:       DO 10 I = 2, N/2
   54.7%  ******* ->   8:       IF ((N - ((N / I) * I)) .EQ. 0) THEN
                       9:           PRIME = .FALSE.
    0.0%              10:           RETURN
    0.0%              11:       ENDIF
    1.0%              12:  10   CONTINUE
    0.0%              13:       RETURN

       PCAA>

    The NEXT command can now be typed again to traverse to the point
    with the next largest number of data points, and so on. To
    end the Analyzer session, the EXIT command or Control/Z can be
    entered.

    For more information, enter HELP at the PCAA> prompt.
Close Help