forked from M-Labs/artiq
1
0
Fork 0
artiq/benchmarks/all.py

18 lines
387 B
Python

from artiq import *
import pulse_rate, rtio_skew, rpc_timing
_units = [pulse_rate.PulseRate, rtio_skew.RTIOSkew, rpc_timing.RPCTiming]
class AllBenchmarks(AutoDB):
__artiq_unit__ = "All benchmarks"
def build(self):
self.se = []
for unit in _units:
self.se.append(unit(self.dbh))
def run(self):
for se in self.se:
se.run()