User guide

Profiling Execution Performance
About Profiling with the Nios II IDE
The GNU profiler (gprof) collects information about which functions call other functions during
program execution, and tracks the time spent in each function. Profiling provides information
about the efficiency of your program by showing you where and how your program spends its
time. Profiling
can help you determine where to optimize your code to improve execution
performance.
The Profiling perspective in the Nios II IDE provides a convenient and useful way to analyze
the GNU profiling data. The display features of the perspective's views make the data much
easier to read and analyze, compared to reading the standard gprof text output.
Related Nios II IDE Help Topics
Profiling C Code
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
72