User guide

Nios II IDE Help System
Samples - Line By Line View (Profiling Perspective)
This view automatically displays as part of the Profiling perspective. You can also open this
view from the Window menu by pointing to Show View, clicking Other..., expanding
Profiling, and double-clicking Samples - Line By Line.
This view uses the gmon.out profiling data to show a breakdown of program execution by line
of source code executed. An entry for each code line sampled during profiling appears in a
table.
The table consists of the following columns for each table entry. Refer to GNU Profiler
documentation for explanations of each of the columns.
Function name
Filename
Line number
Percent time
Cumulative time
Self time
Number of times called
Self time per call
Total time per call
Clicking on the title of any column sorts the data by that column. Clicking a second time
inverts the sort order.
Note: You can load the source code for functions displayed in this view into the Editor
view. To do this, right-click the file name, and then click Show Source.
Related Nios II IDE Help Topics
About Profiling with the Nios II IDE
Profiling Perspective
Related Topics on the Web
AN 391: Profiling Nios II Systems at www.altera.com/literature/an/an391.pdf
The GNU Profiler—GNU gprof documentation from the Free Software Foundation
148