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 agoIf the code and data is read from tightly coupled memory it is possible to calculate the number of cycles from the object code.
Except the dynamic branch prediction causes significant randomisation. Any data or instruction cache tranfsers will cause significant variations - even if you are counting the actual clock cycles.