Forum Discussion
Altera_Forum
Honored Contributor
12 years agoRecord execution time in nios ii
Hi, I have a custom component in my qsys project and I want to record the processing time in the component by using 'clock()' in the nios C code. The problem is whenever I add these lines: ...
Altera_Forum
Honored Contributor
12 years agoI've never used clock() in NIOS, and I don't see why ELF downloading would fail because of the snippet you posted.
However, I would recommend reading this appnote: http://www.altera.com/support/examples/nios2/exm-profiling-de.html In particular, the piece on the Performance Counter starting on page 11.