Forum Discussion
2 Replies
- Altera_Forum
Honored Contributor
I would personally try to measure the execution time if it is possible. It's very boring work to try to calculate it, escpecially if you have caches and things like that
You could use a timer to measure the time, do it a couple of thousand time and take a mean value. You could also make a custom instruction to count the number of clock ticks. Best Regards, Ola Bångdahl - Altera_Forum
Honored Contributor
--- Quote Start --- hi, How can I calculate the execution time of processur NIOSII.? thk for all. --- Quote End --- Use the timer tick functions to calculate the time. Also, try gprof (gnu profiler).