1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00

Bench: don't tie the printed result to the number of iterations

This commit is contained in:
Frank Denis 2017-08-04 23:30:30 +02:00
parent 6d59a5897d
commit cde31281d1

View File

@ -69,7 +69,7 @@ int main(void)
}
}
ts_end = now();
printf("%llu\n", ts_end - ts_start);
printf("%llu\n", 1000000ULL * (ts_end - ts_start) / ITERATIONS);
return 0;
}