$PROC_PROFILING

Enable ProcScript profiling in your application.

$PROC_PROFILING=1 | 0

Defaults

Assignment file: client assignment files
Section: [SETTINGS]
Default value: 0

Description

Caution: ProcScript profiling has a significant impact upon performance and generates large log files. It should only be used when trying to debug a performance problem, preferably in a development or test environment.

You can enable and disable ProcScript profiling for the whole application using the $PROC_PROFILING assignment setting, or selectively in ProcScript using $proc_profiling. The ProcScript function overrides the assignment setting.

When profiling is enabled, profiling information is directed to the Message Frame (or message log file) as a Uniface list. You can specify a different log file using the $PROC_LOG_FILE assignment setting, and a different separator using the $PROC_PROFILING_SEPARATOR assignment setting.

For more information, see ProcScript Profiling and Tracing.

Related Topics