- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
How can I calculate the execution time of processur NIOSII.? thk for all.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- 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).

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page