aboutsummaryrefslogtreecommitdiff
path: root/crosperf/experiment_status.py
diff options
context:
space:
mode:
authorZhizhou Yang <zhizhouy@google.com>2017-07-21 16:06:55 -0700
committerZhizhou Yang <zhizhouy@google.com>2017-07-21 16:10:53 -0700
commit4307f4735e9a4e3189e8d43f7493bb677a4d06ba (patch)
treebf139ee25415cecde142e95791edba3803b2452a /crosperf/experiment_status.py
parent7091edfaa0ec531905b7d914e9307cd74caf02ea (diff)
parent978b96a8b02935d40e3a2c57cd033dbedd8980e9 (diff)
downloadtoolchain-utils-4307f4735e9a4e3189e8d43f7493bb677a4d06ba.tar.gz
Merge branch 'aosp/mirror-chromium-master' into update_utilsandroid-o-iot-preview-5o-iot-preview-5
Update toolchain_utils from ChromeOS side, which includes: initializing Android toolchain benchmark suite and other changes since last merging. Bug: None. Test: None. Change-Id: I9cd74f4377a8109872414636342be0b9f5df2db5
Diffstat (limited to 'crosperf/experiment_status.py')
-rw-r--r--crosperf/experiment_status.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/crosperf/experiment_status.py b/crosperf/experiment_status.py
index 627db99e..c6610433 100644
--- a/crosperf/experiment_status.py
+++ b/crosperf/experiment_status.py
@@ -80,8 +80,8 @@ class ExperimentStatus(object):
strings.append('Current time: %s Elapsed: %s ETA: %s' %
(datetime.datetime.now(),
datetime.timedelta(seconds=int(elapsed_time)), eta))
- strings.append(self._GetProgressBar(self.experiment.num_complete,
- self.num_total))
+ strings.append(
+ self._GetProgressBar(self.experiment.num_complete, self.num_total))
return '\n'.join(strings)
def GetStatusString(self):
@@ -107,8 +107,8 @@ class ExperimentStatus(object):
self.experiment.machine_manager.AsString())
elif self.experiment.schedv2():
# In schedv2 mode, we always print out thread status.
- thread_status = thread_status_format.format(self.experiment.schedv2(
- ).threads_status_as_string())
+ thread_status = thread_status_format.format(
+ self.experiment.schedv2().threads_status_as_string())
result = '{}{}'.format(thread_status, '\n'.join(status_strings))