[V1,1/1] power_branch_ratio: update option

Message ID 20200728015207.4209-2-yufengx.mo@intel.com (mailing list archive)
State Accepted
Headers
Series power_branch_ratio: update option |

Commit Message

Yufen.Mo July 28, 2020, 1:52 a.m. UTC
  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 <yufengx.mo@intel.com>
---
 tests/TestSuite_power_branch_ratio.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tu, Lijuan Aug. 12, 2020, 6:07 a.m. UTC | #1
> Subject: [dts] [PATCH V1 1/1] power_branch_ratio: update option
> 
> 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 <yufengx.mo@intel.com>
> ---
>  tests/TestSuite_power_branch_ratio.py | 2 +-

Applied
  

Patch

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)