Forum Discussion
Altera_Forum
Honored Contributor
14 years agoWhen measuring instruction performance a simulation is probably the most appropriate way to determine the time. The cycle counts for the Nios II processor are documented in the hardware handbook so if that's all you were looking to do then I would just look them up.
If you plan on measuring critical sections of code and want more timer resolution then I would take a look at the performance counter component. It'll measure a few criticial sections with clock cycle resolution.