PROFILE_TYPE Runtime Configuration Variable

This configuration variable provides an optional method of profiling ACUCOBOL-GT on Windows called COUNTER. The counter method uses the debugger to perform counting and appears to provide the most accurate results in Windows environments.

Set the PROFILE_TYPE configuration variable to either ASYNCH or COUNTER. When set to the default value of ASYNCH, the runtime performs profiling the way it historically has. When set to the value COUNTER, the runtime uses this method of profiling. Note that your COBOL programs must be compiled with -Gd as well as -Gs options to use the counter method.

The counter method is also available on UNIX and can be used if profiling your COBOL results in a message similar to profile timer expired. This method doesn't completely solve that problem, but does substantially mitigate it.