sa_procedure_profile and sa_procedure_profile_summary generate execution statistics for procedures, functions, events, and triggers.
CALL sa_server_option ( 'procedure_profiling', 'ON')
For other options, see SQL Anywhere Server – SQL Reference.