1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

hist: show hist results with more accuracy

This commit is contained in:
Steffen Vogel 2017-08-14 14:43:31 +02:00
parent 9a12685c1d
commit 7d4203dc1e

View file

@ -139,11 +139,11 @@ void hist_print(struct hist *h, int details)
hist_cnt_t missed = h->total - h->higher - h->lower;
stats("Counted values: %ju (%ju between %f and %f)", h->total, missed, h->low, h->high);
stats("Highest: %f", h->highest);
stats("Lowest: %f", h->lowest);
stats("Mu: %f", hist_mean(h));
stats("Variance: %f", hist_var(h));
stats("Stddev: %f", hist_stddev(h));
stats("Highest: %g", h->highest);
stats("Lowest: %g", h->lowest);
stats("Mu: %g", hist_mean(h));
stats("Variance: %g", hist_var(h));
stats("Stddev: %g", hist_stddev(h));
if (details > 0 && h->total - h->higher - h->lower > 0) {
char *buf = hist_dump(h);