Forum Discussion
Altera_Forum
Honored Contributor
12 years agoclock cycles consumed by NIOSII C code
Hello, I have a design implemented in NIOS processor. I am using DE1 board. I want to calculate the performance/clock cycles consumed by my C code from some specified instruction to some spec...
Altera_Forum
Honored Contributor
12 years agoAdd a performance counter to your system, and instrument your code to acquire the measurements of the critical sections.
http://www.altera.com/support/examples/nios2/exm-profiling-de.html You can also use the NIOS plugin within SignalTap to watch your code as it executes.