forked from M-Labs/artiq
1
0
Fork 0

examples/speed_benchmark: fix scheduler arguments

This commit is contained in:
Sebastien Bourdeauducq 2015-12-22 17:13:09 +08:00
parent b4b0dcc5d1
commit e4233d706d
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@ class SpeedBenchmark(EnvExperiment):
class _Report(EnvExperiment): class _Report(EnvExperiment):
def build(self): def build(self):
self.setattr_argument("start_time") self.setattr_argument("start_time", NumberValue())
self.setattr_argument("nruns") self.setattr_argument("nruns", NumberValue())
def run(self): def run(self):
end_time = time.monotonic() end_time = time.monotonic()