[dts] [PATCH V1] tests/TestSuite_nic_single_core_perf:add Fwd_core into json file
lingwei
weix.ling at intel.com
Mon Oct 19 16:18:57 CEST 2020
add Fwd_core into json file
Signed-off-by: lingwei <weix.ling at intel.com>
---
tests/TestSuite_nic_single_core_perf.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py
index 9bc421b..e93ee46 100644
--- a/tests/TestSuite_nic_single_core_perf.py
+++ b/tests/TestSuite_nic_single_core_perf.py
@@ -364,9 +364,11 @@ class TestNicSingleCorePerf(TestCase):
row_dict1 = dict(name="Throughput", value=result_throughput, unit="Mpps", delta=delta)
row_dict2 = dict(name="Txd/Rxd", value=row_in["TXD/RXD"], unit="descriptor")
row_dict3 = dict(name="frame_size", value=row_in["Frame Size"], unit="bytes")
+ row_dict4 = dict(name="Fwd_core", value=row_in["Fwd_core"])
row_dict0['performance'].append(row_dict1)
row_dict0['parameters'].append(row_dict2)
row_dict0['parameters'].append(row_dict3)
+ row_dict0['parameters'].append(row_dict4)
json_obj[case_name].append(row_dict0)
status_result.append(row_dict0['status'])
with open(os.path.join(rst.path2Result,
--
2.17.1
More information about the dts
mailing list