Profiling Nios II Systems Application Note 391 - Altera
Profiling Nios II Systems Application Note 391 - Altera
Profiling Nios II Systems Application Note 391 - Altera
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Further Reading Page 19<br />
Fitting a Performance Counter in a Hardware Design That Consumes Most<br />
of a Device's Resources<br />
During development, you can measure the system in a larger device than the size of<br />
your device in a deployed system.<br />
Configure a performance counter to have only one section counter to save the most<br />
resources.<br />
The Histogram for the gmon.out File Is Missing, Even Though My main()<br />
Function Terminates<br />
Further Reading<br />
If you do not define a system timer for the system, the profiler does not call the<br />
nios2_pcsample() function, and does not generate the histogram for the<br />
gmon.out. Define a system timer for your system.<br />
f For information about the GNU profiler, refer to the <strong>Nios</strong> <strong>II</strong> GNU profiler<br />
documentation, included with the GCC documentation, available at the <strong>Nios</strong> <strong>II</strong><br />
Embedded Design Suite Support.<br />
f Because <strong>Altera</strong> has rewritten the lib-gprof library, the information in this<br />
application note about data collection deviates from <strong>Altera</strong>’s<br />
implementation.<br />
f For information about the performance counter, refer to the Performance Counter Core<br />
chapter in the Embedded Peripherals IP User Guide. For information about the<br />
high-speed timer, refer to the Timer Core chapter in the Embedded Peripherals IP User<br />
Guide.<br />
July 2011 <strong>Altera</strong> Corporation <strong>Profiling</strong> <strong>Nios</strong> <strong>II</strong> <strong>Systems</strong>