2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-18 16:06:30 +08:00
artiq/benchmarks/all.py

21 lines
452 B
Python

from artiq import *
import pulse_rate, rtio_skew, rpc_timing
from pulse_rate import PulseRate
from rtio_skew import RTIOSkew
_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()