Interpretation of profiling results (GNAT User’s Guide for Native Platforms)

#### 6.2.1.4 Interpretation of profiling results ¶

The results of the profiling analysis are represented by two arrays: the ‘flat profile’ and the ‘call graph’. You can find full documentation of those outputs in the GNU Profiler User’s Guide.

The flat profile shows the time spent in each function of the program and how many time it has been called. This allows you to easily locate the most time-consuming functions.

The call graph shows, for each subprogram, the subprograms that call it, and the subprograms that it calls. It also provides an estimate of the time spent in each of those callers and called subprograms.