Commit fe4d8318 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

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's avatarPhilippe Gerum <rpm@xenomai.org>
parent 096a4e21
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment