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:
parent
096a4e21d4
commit
fe4d8318f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue