Commit 7b90815f authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo
Browse files

Merge pull request #3008 from badboy/fix-2911

Fix nanosecond conversion
parents 02db338a 15dacfec
......@@ -2471,7 +2471,7 @@ static void intrinsicLatencyMode(void) {
}
double avg_us = (double)run_time/runs;
double avg_ns = avg_us * 10e3;
double avg_ns = avg_us * 1e3;
if (force_cancel_loop || end > test_end) {
printf("\n%lld total runs "
"(avg latency: "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment