Soft'N'Design Software
/
projects
/
benchmarks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2b3d8
)
fix missing stat
author
Laurent MAZET
<laurent.mazet@thalesgroup.com>
Tue, 30 Sep 2025 17:24:33 +0000
(19:24 +0200)
committer
Laurent MAZET
<laurent.mazet@thalesgroup.com>
Tue, 30 Sep 2025 17:24:33 +0000
(19:24 +0200)
stat.c
patch
|
blob
|
blame
|
history
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 */