forked from M-Labs/artiq
examples/speed_benchmark: fix scheduler arguments
This commit is contained in:
parent
b4b0dcc5d1
commit
e4233d706d
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user