Forum Discussion
JEL_W
New Contributor
7 years agoFloats number nios
hi all, I want to implement this operation, in NIOS II : float a,b,c,registre; clock_t temps_initial,temps_final; float temps_cpu; a=2.45; b=3.48; temps_initial =clock(); registre=a/...
GuaBin_N_Intel
Contributor
7 years agoStill not understand what your issue is. In the operation
temps_cpu=(temps_final-temps_initial)/CLOCKS_PER_SEC, both variable "temps_final" or "temps_initial" are getting value from clock function I presume, it supposes to get a random value, right? Are you expecting a fixed value?