From 7b0d9df002c55fefcd04e912611da7515fbd9569 Mon Sep 17 00:00:00 2001 From: Laurent MAZET Date: Tue, 30 Sep 2025 19:24:33 +0200 Subject: [PATCH] fix missing stat --- stat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.30.2