From patchwork Tue Jul 28 01:52:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 74887 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 61726A053C; Tue, 28 Jul 2020 03:54:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4FA2A1BFF5; Tue, 28 Jul 2020 03:54:25 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 461332B9C for ; Tue, 28 Jul 2020 03:54:23 +0200 (CEST) IronPort-SDR: 9eR/+WUoTUaMFp+qs6Q9hJVJUWUGuZrfroqKTW3dN3R30r95bnrRPP6o22tKOCWY1Yb2aOTwfB aFwaHZwp/C2w== X-IronPort-AV: E=McAfee;i="6000,8403,9695"; a="235999131" X-IronPort-AV: E=Sophos;i="5.75,404,1589266800"; d="scan'208";a="235999131" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2020 18:54:22 -0700 IronPort-SDR: CCbIGr54W7ai19o0xp802M3t1wOlJj0uHdhyTUB/9cYuEeotgvAIhh3vgQmFmz5SMolgKbTmPA QnELIR6iQhYQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,404,1589266800"; d="scan'208";a="434147828" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by orsmga004.jf.intel.com with ESMTP; 27 Jul 2020 18:54:21 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 28 Jul 2020 09:52:07 +0800 Message-Id: <20200728015207.4209-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200728015207.4209-1-yufengx.mo@intel.com> References: <20200728015207.4209-1-yufengx.mo@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 1/1] power_branch_ratio: update option X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" update option based on dpdk master 95f648ff9eedc11f9c888f2cc331aadb95cb9b47 ---core-list {list of cores} +--core-branch-ratio {list of cores}:{branch ratio for listed cores} Signed-off-by: yufengmx --- tests/TestSuite_power_branch_ratio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_power_branch_ratio.py b/tests/TestSuite_power_branch_ratio.py index b45ebcb..e6bda21 100644 --- a/tests/TestSuite_power_branch_ratio.py +++ b/tests/TestSuite_power_branch_ratio.py @@ -347,7 +347,7 @@ class TestPowerBranchRatio(TestCase): 'memory_size': 1024, }) prompt = 'vmpower>' option = sub_option + \ - (' -- --branch-ratio={}'.format(self.branch_ratio) \ + (' -- --core-branch-ratio={}'.format(self.branch_ratio) \ if self.branch_ratio else '') cmd = [' '.join([self.vm_power_mgr, option]), prompt, 50] self.d_con(cmd)