fix missing stat
authorLaurent MAZET <laurent.mazet@thalesgroup.com>
Tue, 30 Sep 2025 17:24:33 +0000 (19:24 +0200)
committerLaurent MAZET <laurent.mazet@thalesgroup.com>
Tue, 30 Sep 2025 17:24:33 +0000 (19:24 +0200)
stat.c

diff --git a/stat.c b/stat.c
index c82f0a1542139bd78b984e4f6f72b9d9ea6d9763..0bd28c35a8ee55b07ca28911d116e3ca70468c2e 100644 (file)
--- 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 */