PAL: Improve latency graphs 48/30748/1
authorVratko Polak <vrpolak@cisco.com>
Thu, 14 Jan 2021 12:34:08 +0000 (13:34 +0100)
committerTibor Frank <tifrank@cisco.com>
Mon, 18 Jan 2021 05:32:55 +0000 (05:32 +0000)
commit08318c274d49e48518c165b5f28ffa9213f9141e
tree25e029427e160d2971ba7eba6a1c0e15f2daf582
parentd643521a8cd4f859b1e7c9fd1303b2ad3fc803cf
PAL: Improve latency graphs

Previously, they used sloped lines connecting reported points.
But HdrHistogram reports only the upper bound of percentile.
Example: If all samples are 10us,
HdrHistogram reports a single value at 100%.

This change attempts to show the whole intervals (0%-100% for the example)
as a series (vertically connected) of horizontal lines.
Hover also shows percentiles as intervals.

Change-Id: Id7bbff7b1c29d7f62472041340fde88903363cfa
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 826d80373dbd20bc1feac2403e9cade9e5633336)
resources/tools/presentation/generator_plots.py