hex-five/multizone-sdk

Zone4 stats are cast as integers, resulting in negative numbers

Closed this issue · 1 comments

printf("%*d cycles in %*d us \n", max_col, cycles[i], max_col-2, (int)(cycles[i]*1000/MHZ));

printf("time min/med/max = %d/%d/%d us \n", (int)min*1000/MHZ, (int)med*1000/MHZ, (int)max*1000/MHZ);

printf("ctx sw time min/med/max = %d/%d/%d us \n", (int)min*1000/MHZ, (int)med*1000/MHZ, (int)max*1000/MHZ);

printf("ctx sw time = %d us \n", (int)ctxsw_cycle[0]*1000/MHZ);

Please move to hex-five/multizone-secure-iot-stack