|
The sfarpt utility may be used to analyze SFA files.
SFA files are used to hold program profiler measurements.
usage: sfarpt [options] sfafile [ ... ]
options:
-f - file report
-s - segment report
-n - suppress report header
-l n - ignore less than n% execution time (default = 0%)
-g n - ignore greater than n% execution time (default = 100%)
-b line - start line number (only line report)
-e line - end line number (only line report)
Default report type is line report.
Files without suffix .SFA are silently ignored if not present.
The options are:
- -help
- The -help option displays a brief help text.
- -f
- Output file report.
- -s
- Output segment report.
- -l percent
- All lines with elapsed time less
than percent are ignored (default = 0%).
- -g percent
- All lines with elapsed time greater
than percent are ignored (default = 100%)
- -b line
- The analysis begins at line number (line report only).
- -e line
- The analysis ends at line number. (line report only).
- -n
- Suppress report header.
There are three different report types:
-
The file report lists for each program file the execution seconds,
the percentage of execution time, the number of lines executed
and the percentage of executed lines.
-
The segment report lists for each program segment in the specified
program files the percentage of execution time, the number of lines
executed and the percentage of executed lines.
-
The line report lists for each program line the percentage of
execution time, the number of times the line was executed and
and the average execution time.
- A File extension of .SFA is implied and is appended if not present.
- Files without suffix .SFA are silently ignored if not present.
sfarpt -s YSUBR
Create a segment report for YSUBR.
sfarpt -l 0.5 YSUBR
Analyze the YSUBR program file. Any lines whose portion of the
elapsed time is less than 0.5% are ignored.
sfarpt -g 0 YSUBR
List all lines which were not executed.
sfagen utility
Language manual, chapter 15 "Statement Flow Analyzer"
|
|