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.