Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plotters: Use inclusive comparisons when cutting off data points
When drawing CDF plots, the 'cutoff' parameter can exclude some data points from the plot, typically to exclude the latency measurements from the idle part of the test. When latency rises very sharply after the bandwidth tests start, this can cut off the last data point of the 'average' data series before the latency goes up, which leads to some odd-looking CDFs where the 'average' series doesn't go to zero while the other series do. Fix this by making the comparison for cutoff inclusive; i.e., when cutting off data points at the start of the test, include all points that are <= the cutoff value, instead of <. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
- Loading branch information