aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/input_data_parser.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-02-14 12:45:53 +0100
committerTibor Frank <tifrank@cisco.com>2020-02-14 12:47:53 +0100
commite3546697c0d5c9068caa738eff026e0437f0ea8d (patch)
tree6485b18263023ddfd148ad55679860c0c7f8a196 /resources/tools/presentation/input_data_parser.py
parentf51658bf4d987f95cd2230fea5263f9a6badeb19 (diff)
Report: Detailed results tables
Change-Id: Ib89fb3135a5a170e666923148e74541f042a2bbd Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/input_data_parser.py')
-rw-r--r--resources/tools/presentation/input_data_parser.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 60c5af2870..1ee5753a27 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -454,7 +454,7 @@ class ExecutionChecker(ResultVisitor):
if (hdr_lat_1_50 + hdr_lat_1_90 + hdr_lat_1_99 +
hdr_lat_2_50 + hdr_lat_2_90 + hdr_lat_2_99):
return (
- f"{hdr_lat_1_50} {hdr_lat_1_90} {hdr_lat_1_99} "
+ f"{hdr_lat_1_50} {hdr_lat_1_90} {hdr_lat_1_99} "
f"{hdr_lat_2_50} {hdr_lat_2_90} {hdr_lat_2_99}"
)
@@ -467,15 +467,15 @@ class ExecutionChecker(ResultVisitor):
data[u'pdr_lat_50_2'])
pdr_lat_90 = _process_lat(data[u'pdr_lat_90_1'],
data[u'pdr_lat_90_2'])
- pdr_lat_10 = f"\n3. {pdr_lat_10} (10% PDR)" if pdr_lat_10 else u""
- pdr_lat_50 = f"\n4. {pdr_lat_50} (50% PDR)" if pdr_lat_50 else u""
- pdr_lat_90 = f"\n5. {pdr_lat_90} (90% PDR)" if pdr_lat_90 else u""
+ pdr_lat_10 = f"\n3. {pdr_lat_10}" if pdr_lat_10 else u""
+ pdr_lat_50 = f"\n4. {pdr_lat_50}" if pdr_lat_50 else u""
+ pdr_lat_90 = f"\n5. {pdr_lat_90}" if pdr_lat_90 else u""
return (
- f"1. {(data[u'ndr_low'] / 1e6):.2f} {data[u'ndr_low_b']:.2f} "
- f"(NDR)"
- f"\n2. {(data[u'pdr_low'] / 1e6):.2f} {data[u'pdr_low_b']:.2f} "
- f"(PDR)"
+ f"1. {(data[u'ndr_low'] / 1e6):.2f} "
+ f"{data[u'ndr_low_b']:.2f}"
+ f"\n2. {(data[u'pdr_low'] / 1e6):.2f} "
+ f"{data[u'pdr_low_b']:.2f}"
f"{pdr_lat_10}"
f"{pdr_lat_50}"
f"{pdr_lat_90}"