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.

Select Debug > Execute with Profiler to start the Profiler. After the program finishes executing, the Profiler information is displayed in the Output tab.

The flat profile contains a list of the functions called while the programs was running.

Tip: Runtime system internal function names start with the rts_ prefix. For example, the rts_display() function implements the DISPLAY instruction.
Table 1. Flat profile columns
Column Name Description
count Counts the 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 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 total processing time. The time spent waiting for user interaction is ignored.

The profiler is a tool built into the runtime system. For further information on the profiler and how it works, see the Genero Business Development Language User Guide.