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

examples/speed_benchmark: fix nruns step

This commit is contained in:
Sebastien Bourdeauducq 2015-12-11 00:20:07 +08:00
parent 25027f6907
commit c4b33bdf84

View File

@ -78,7 +78,8 @@ class SpeedBenchmark(EnvExperiment):
"CoreSend100Ints",
"CoreSend1MB",
"CorePrimes"]))
self.setattr_argument("nruns", NumberValue(10, min=1, max=1000, ndecimals=0))
self.setattr_argument("nruns", NumberValue(10, min=1, max=1000,
ndecimals=0, step=1))
self.setattr_device("core")
self.setattr_device("scheduler")