From 036c8019b965f812e5881b8671ba4ed54504ed86 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Fri, 1 May 2015 19:49:34 +0000 Subject: [PATCH] lfsr-test: print total elapsed time correctly The conversion from microseconds to seconds is 1e6 not 1e9. Signed-off-by: Steven Noonan Signed-off-by: Jens Axboe --- t/lfsr-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lfsr-test.c b/t/lfsr-test.c index 901f1a66..4352b89f 100644 --- a/t/lfsr-test.c +++ b/t/lfsr-test.c @@ -122,7 +122,7 @@ int main(int argc, char *argv[]) if (verify) printf("(slower due to verification)"); printf("\n==============================\n"); - printf("Elapsed: %lf s\n", total / pow(10,9)); + printf("Elapsed: %lf s\n", total / pow(10,6)); printf("Mean: %lf us\n", mean); free(v_start); -- 2.25.1