Profiler

The Profiler is a tool built in the runtime system that generates a report about where the program spends time, and which function calls which function. The Profiler can help to identify areas in the program that are slower than expected.

Use the Debug >> Execute with Profiler menu option to start the Profiler. After the program finishes executing, the Profiler information is displayed in the Output tab. The output contains the list of the functions called while the programs was running. It is presented as a five-column table.

Table 1. Flat profile columns
Column Name Description
count
Number of calls for this function.
%total
Percentage of time spent in this function. Includes time spent in subroutines called from this function.
%child
Percentage of time spent in the functions called from this function.
%self
Percentage of time spent in this function excluding the time spent in subroutines called from this function.
name
Function name.
Note: 100% represents the program execution time.