The PATH, FASTPATH, and PATHFILE options
Use these options to display how many times an executed instruction
was executed. From the display you can determine:
- Sections of code that were not executed
These sections are either sections not exercised by testing, or "dead code" that will never be executed, and hence you can remove from the program.
- Sections of code that were executed many times
These are called "hotspots" in your program: sections where by refining the program algorithm or implementation, you can speed up program execution.
For example, to execute the CMS program "MYPROG" with the PATH
support enabled, issue the command:
ASMIDF MYPROG (PATH /Parms for MYPROG
If you specified the PATH or PATHFILE options when IDF was invoked, you can choose an alternative algorithm for collecting the instruction execution count information. You can set the FASTPATH option only after the target program is loaded, and before any execution counts are collected.