VSE-PROFILER
The problem:
There is no way to sample what goes on in a partition at regular intervals
for a defined period. The only commercial product (AFAIK) is STROBE, but
only for the other op-sys.
(new since 20/Aug/2008)
The solution for COBOL and PLI only:
Since the demise of FCOBOL the option COUNT is gone as well. Here is a
replacement for it. It has
also support for wall-clock timing. More details on the implementation and what you can do with it
can be found here.
The solution:
With VSE-PROFILER you get a program that can up to 300 times per second
sample the PSW of another partition. The free code comes with a PROFEXIT
in source that can be tailored to your own needs. The way it comes it sumarises
and sorts the entries in the sample-table.
You can see from the output of PROFEXIT that
-
the monitored program was WHATEVER
-
the cpu-time (as in JA-tables) is 50% of the period monitored
-
6000 samples taken
-
3050 of the monitored samples where taken while in wait (SVC7)
-
640 spend in and around offset 1500 into program
-
635 spend in and around offset 4500 into program
-
125 spend in and around an SVA-routine
-
and so on.
Sample of reformated data (new on 26th of Dez 2005)
Questions and Answers that came up during pre-GA.
Contact me for further questions.
Download the program.
This is all you need.
For those interested in the details: The source for the PROFEXIT is here.