From: lingwei <weix.ling@intel.com>
To: dts@dpdk.org
Cc: lingwei <weix.ling@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_nic_single_core_perf:add Fwd_core into json file
Date: Mon, 19 Oct 2020 22:18:57 +0800 [thread overview]
Message-ID: <20201019141857.108812-1-weix.ling@intel.com> (raw)
add Fwd_core into json file
Signed-off-by: lingwei <weix.ling@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
next reply other threads:[~2020-10-19 6:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 14:18 lingwei [this message]
2020-10-19 7:23 ` Ling, WeiX
2020-10-19 8:02 ` Ma, LihongX
2020-10-27 8:49 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201019141857.108812-1-weix.ling@intel.com \
--to=weix.ling@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).