2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

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

View File

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