diff options
author | JingLu5 <lvjing5@huawei.com> | 2017-09-01 02:55:52 +0000 |
---|---|---|
committer | JingLu5 <lvjing5@huawei.com> | 2017-09-01 02:55:52 +0000 |
commit | 0f2b721f5454dd98851be5416e144f81c976d2cd (patch) | |
tree | 8c9469d33dc5baf86992b8f1b420837503169eea /yardstick | |
parent | 4f797e46089c51bd73d1a61bd8130c8bdf526f9d (diff) |
testcase: add rate parameter for spec cpu 2006
Change-Id: I5f1634d2a30eb93b4632e4773cee3f8b7a151b1f
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'yardstick')
-rw-r--r-- | yardstick/benchmark/scenarios/compute/spec_cpu.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/compute/spec_cpu.py b/yardstick/benchmark/scenarios/compute/spec_cpu.py index 520618631..df361cd94 100644 --- a/yardstick/benchmark/scenarios/compute/spec_cpu.py +++ b/yardstick/benchmark/scenarios/compute/spec_cpu.py @@ -103,6 +103,9 @@ class SpecCPU(base.Scenario): cmd = "cd /usr/cpu2006/ && . ./shrc && runspec --config %s" % self.runspec_config cmd_args = "" + if "rate" in self.options: + cmd_args += " --rate %s" % self.options["runspec_rate"] + if "output_format" in self.options: cmd_args += " --output_format %s" % self.options["output_format"] |