Commit 15dacfec authored by Jan-Erik Rediger's avatar Jan-Erik Rediger
Browse files

Fix nanosecond conversion

1 microsecond = 1000 nanoseconds
1e3 = 1000
10e3 = 10000
parent 8b3aa734
...@@ -2331,7 +2331,7 @@ static void intrinsicLatencyMode(void) { ...@@ -2331,7 +2331,7 @@ static void intrinsicLatencyMode(void) {
} }
double avg_us = (double)run_time/runs; 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) { if (force_cancel_loop || end > test_end) {
printf("\n%lld total runs " printf("\n%lld total runs "
"(avg latency: " "(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