Generating Profiling Information with Interactive SQL

sa_procedure_profile and sa_procedure_profile_summary generate execution statistics for procedures, functions, events, and triggers.

In Interactive SQL, run sa_procedure_profile or sa_procedure_profile summary. For example:
CALL sa_server_option ( 'procedure_profiling', 'ON')

For other options, see SQL Anywhere Server – SQL Reference.

Note: This reference points to SQL Anywhere documentation.
Related tasks
Setting Database Profiling Options with Interactive SQL