From: Steven Noonan Date: Fri, 1 May 2015 19:49:34 +0000 (+0000) Subject: lfsr-test: print total elapsed time correctly X-Git-Tag: fio-2.2.8~19 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=036c8019b965f812e5881b8671ba4ed54504ed86 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 --- 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);