Forum Discussion
Altera_Forum
Honored Contributor
12 years agoProfiling microC application
Hi, I've written a MicroC application that uses iniche stack, due to performance issues I need to profile it. I've read AN391 (http://www.altera.com/literature/an/an391.pdf) and was able...
Altera_Forum
Honored Contributor
12 years agoIn a regular gcc/gprof environment, you can directly invoke the function that writes the gmon.out. The function is called _mcleanup().
Not sure if it works in NIOS2 gcc environment, but it's worth a shot.