To start Profiler from the command prompt, use the following command:
where the parameters are:
Directives must be separated by one or more spaces. Where a Profiler directive takes a parameter, you can enclose the parameter either in quotation marks or in parentheses. If you use either of these, however, you must escape them using the backslash character ( \).
When you run Profiler, the following banner is displayed in the report:
* Micro Focus COBOL Profiler * name-1 . . . * name-n
where name is one of the files listed in filenames at the command line.
The following example shows the report, if you are using Profiler from the command line. If you submit to the Cob utility the program prog1 with the PROFILE directive set, run the program, and then enter:
the following output is produced on the console:
* Micro Focus COBOL Profiler * prog1 Total time: 172 milliseconds. Module called once. %time time entries micros/entry paragraph ----------------------------------------------------------------- 64.53 111 21 5 TEST-ROUTINE 17.44 30 1 30 PARA1 16.28 28 15 2 NAME-ENTRY 1.74 3 1 3 END-SECTION 0.00 0 1 0 INITIAL(UNNAMED) PARAGRAPH