benchmarks/latmus: allow zero-sample cells

We have been dealing properly with cells having no sample logged for
many moons. There is no reason to increment all cell counts anymore.
This makes the overall sample count consistent with the sum of all
cell counts.

Signed-off-by: Philippe Gerum <rpm@xenomai.org>
This commit is contained in:
Philippe Gerum 2020-05-24 19:17:31 +02:00
parent 096a4e21d4
commit fe4d8318f0
1 changed files with 1 additions and 2 deletions

View File

@ -765,8 +765,7 @@ static void dump_gnuplot(time_t duration)
last = n;
for (n = first; n < last; n++)
/* +1: no zero value for intermediate cells. */
fprintf(plot_fp, "%d %d\n", n, histogram[n] + 1);
fprintf(plot_fp, "%d %d\n", n, histogram[n]);
/*
* If we have outliers, display a '+' sign after the last cell