forked from M-Labs/artiq
1
0
Fork 0

examples/speed_benchmark: dbs->managers

This commit is contained in:
Sebastien Bourdeauducq 2015-10-14 01:06:16 +08:00
parent ef487ee8b0
commit f632e84d74
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class SpeedBenchmark(EnvExperiment):
self.scheduler.priority, None, False) self.scheduler.priority, None, False)
def run_without_scheduler(self, pause): def run_without_scheduler(self, pause):
payload = globals()["_Payload" + self.payload](*self.dbs()) payload = globals()["_Payload" + self.payload](*self.managers())
start_time = time.monotonic() start_time = time.monotonic()
for i in range(int(self.nruns)): for i in range(int(self.nruns)):