mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Merge pull request #3008 from badboy/fix-2911
Fix nanosecond conversion
This commit is contained in:
commit
7b90815fc3
@ -2471,7 +2471,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: "
|
||||||
|
Loading…
Reference in New Issue
Block a user