2015-02-18 07:14:18 +08:00
|
|
|
from artiq import *
|
|
|
|
|
2015-02-19 00:57:00 +08:00
|
|
|
import pulse_rate, rtio_skew, rpc_timing
|
2015-02-18 07:14:18 +08:00
|
|
|
|
2015-02-19 00:57:00 +08:00
|
|
|
_units = [pulse_rate.PulseRate, rtio_skew.RTIOSkew, rpc_timing.RPCTiming]
|
2015-02-18 07:14:18 +08:00
|
|
|
|
|
|
|
class AllBenchmarks(AutoDB):
|
2015-02-21 05:01:34 +08:00
|
|
|
__artiq_unit__ = "All benchmarks"
|
|
|
|
|
2015-02-18 07:14:18 +08:00
|
|
|
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()
|