2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-04 17:31:10 +08:00
artiq/benchmarks/all.py

19 lines
383 B
Python
Raw Normal View History

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
_exps = [pulse_rate.PulseRate, rtio_skew.RTIOSkew, rpc_timing.RPCTiming]
class AllBenchmarks(Experiment, AutoDB):
"""All benchmarks"""
2015-02-18 07:14:18 +08:00
def build(self):
self.se = []
for exp in _exps:
self.se.append(exp(self.dbh))
2015-02-18 07:14:18 +08:00
def run(self):
for se in self.se:
se.run()