[V1,1/1] power_branch_ratio: update option
diff mbox series

Message ID 20200728015207.4209-2-yufengx.mo@intel.com
State New
Headers show
Series
  • power_branch_ratio: update option
Related show

Commit Message

Mo, YufengX 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(-)

Patch
diff mbox series

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)