Forum Discussion
ShengN_altera
Super Contributor
3 years agoHi @Chris039 ,
I have done testing Nios V Hello World Example Design. I'm measuring the time taken for Nios V to run C++ code with looper and usleep(1000000) (code image below) and getting the results (image below):
Time taken: 16771 clicks (0.016771s)
Then I'm measuring the time taken for Nios V to run with only usleep(1000000) without looper (code image below) and getting the results (image below):
Time taken: 994 clicks (0.000994s). Close to your results.
Installed RAM: 16.0 GB
I think the execution time measuring code and your result are both valid.
Thanks,
Best regards,
Sheng
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.