Forum Discussion
Chris039
Occasional Contributor
3 years agoHow to calculate the time for running the code in Nios II and Nios V?
Hi,
How do I calculate the time used for executing a command in Nios II and Nios V.
I was using the example in the below link but the results from Nios II and Nios V are different.
https://cp...
ShengN_altera
Super Contributor
3 years agoHi,
Have you include the related library?
usleep() is in microseconds so you have to put 1000000 for 1 second.
Thanks,
Best Regards,
Sheng