aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-11-02 06:31:04 +0100
committerTibor Frank <tifrank@cisco.com>2020-11-02 05:33:15 +0000
commit64518bf0a0851dc82b1092fa45420a93c491a3b2 (patch)
tree579ce12c819ce215d921de81e4626304bf985ae4 /resources/tools/presentation/generator_plots.py
parent73039f79982b9461947e8705828e8029f06e07d3 (diff)
Report: Add data
Change-Id: I99836894960f74f9dc283b812e1106ac512db3ae Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 380ed1f7a22d960ecf4b6a34c15cf3c69a32b800)
Diffstat (limited to 'resources/tools/presentation/generator_plots.py')
-rw-r--r--resources/tools/presentation/generator_plots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index 42f450e688..d31ccb1ed8 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -546,7 +546,7 @@ def plot_tsa_name(plot, input_data):
u"4": list()
}
try:
- if test[u"type"] not in (u"NDRPDR",):
+ if test[u"type"] not in (u"NDRPDR", u"CPS"):
continue
if u"-pdr" in plot_title:
@@ -682,7 +682,7 @@ def plot_tsa_name(plot, input_data):
x_vals = [1, 2, 4]
# Limits:
- if u"-gbps" not in plot_title:
+ if u"-gbps" not in plot_title and u"-cps-" not in plot_title:
nic_limit /= 1e6
lnk_limit /= 1e6
pci_limit /= 1e6