mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 12:28:44 +00:00
workloads/dhrystone: Remove trailing whitespace
This commit is contained in:
parent
3544b716d2
commit
45738dfffe
@ -80,8 +80,8 @@ class Dhrystone(Workload):
|
|||||||
|
|
||||||
def setup(self, context):
|
def setup(self, context):
|
||||||
if self.mloops:
|
if self.mloops:
|
||||||
execution_mode = '-l {}'.format(self.mloops)
|
execution_mode = '-l {}'.format(self.mloops)
|
||||||
else:
|
else:
|
||||||
execution_mode = '-r {}'.format(self.duration)
|
execution_mode = '-r {}'.format(self.duration)
|
||||||
if self.taskset_mask:
|
if self.taskset_mask:
|
||||||
taskset_string = '{} taskset 0x{:x} '.format(self.target.busybox,
|
taskset_string = '{} taskset 0x{:x} '.format(self.target.busybox,
|
||||||
@ -101,8 +101,8 @@ class Dhrystone(Workload):
|
|||||||
|
|
||||||
def run(self, context):
|
def run(self, context):
|
||||||
try:
|
try:
|
||||||
self.output = self.target.execute(self.command,
|
self.output = self.target.execute(self.command,
|
||||||
timeout=self.timeout,
|
timeout=self.timeout,
|
||||||
check_exit_code=False)
|
check_exit_code=False)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
self.target.killall('dhrystone')
|
self.target.killall('dhrystone')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user