aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-07-13 09:10:22 +0200
committerTibor Frank <tifrank@cisco.com>2021-07-13 09:10:22 +0200
commitec79cd31fd974372fd6cd02be6a504dff6d50e8e (patch)
tree0d8a569707bc72346c011674fbc47591c0b9cd27 /resources/tools/presentation/generator_plots.py
parentc77930b44bd1a35786a4b843bb75a9cbc8741b4b (diff)
Report: Add rls data
Change-Id: I0167c72751aa5deae576335bbf91f62557ea8526 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_plots.py')
-rw-r--r--resources/tools/presentation/generator_plots.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index af90124183..9a1eb9eafc 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -610,12 +610,12 @@ def plot_perf_box_name(plot, input_data):
if u"TCP_CPS" in test[u"tags"]:
test_type = u"VSAP_CPS"
y_vals[test[u"parent"]].append(
- test[u"result"][u"cps"] / 1e6
+ test[u"result"][u"cps"]
)
elif u"TCP_RPS" in test[u"tags"]:
test_type = u"VSAP_RPS"
y_vals[test[u"parent"]].append(
- test[u"result"][u"rps"] / 1e6
+ test[u"result"][u"rps"]
)
else:
continue
@@ -677,10 +677,10 @@ def plot_perf_box_name(plot, input_data):
layout[u"title"] = f"<b>Bandwidth:</b> {layout[u'title']}"
elif test_type == u"VSAP_CPS":
layout[u"title"] = f"<b>CPS:</b> {layout[u'title']}"
- layout[u"yaxis"][u"title"] = u"<b>Connection Rate [Mcps]</b>"
+ layout[u"yaxis"][u"title"] = u"<b>Connection Rate [cps]</b>"
elif test_type == u"VSAP_RPS":
layout[u"title"] = f"<b>RPS:</b> {layout[u'title']}"
- layout[u"yaxis"][u"title"] = u"<b>Connection Rate [Mrps]</b>"
+ layout[u"yaxis"][u"title"] = u"<b>Connection Rate [rps]</b>"
else:
layout[u"title"] = f"<b>Tput:</b> {layout[u'title']}"
if y_max and max(y_max) > 1: