From: Laurent MAZET Date: Tue, 30 Sep 2025 17:24:33 +0000 (+0200) Subject: fix missing stat X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=7b0d9df002c55fefcd04e912611da7515fbd9569;p=benchmarks.git fix missing stat --- diff --git a/stat.c b/stat.c index c82f0a1..0bd28c3 100644 --- a/stat.c +++ b/stat.c @@ -46,6 +46,8 @@ void compute_statistics (dts_t *points, int nb, int bins) } std = sqrt (std / (nb - 1)); + printf ("Standard Deviation = %.2lfus\n", std / 1000); + /* compute median, 25 percentile and 75 percentile */ for (int j = 1; j < nb - 1; j++) { @@ -77,7 +79,7 @@ void compute_statistics (dts_t *points, int nb, int bins) printf ("25th %% = %.2lfus\n", p25 / 1000); printf ("Median = %.2lfus\n", med / 1000); - printf ("75th %% = %.2lfus", p75 / 1000); + printf ("75th %% = %.2lfus\n", p75 / 1000); /* compute histogram */