forked from M-Labs/artiq
test_rtio: add missing annotations
This commit is contained in:
parent
3b2bc4b6bb
commit
977f2f3661
@ -676,11 +676,17 @@ class CoredeviceTest(ExperimentCase):
|
|||||||
self.assertEqual(dt, 8000)
|
self.assertEqual(dt, 8000)
|
||||||
|
|
||||||
|
|
||||||
|
@nac3
|
||||||
class RPCTiming(EnvExperiment):
|
class RPCTiming(EnvExperiment):
|
||||||
|
core: KernelInvariant[Core]
|
||||||
|
repeats: KernelInvariant[int32]
|
||||||
|
ts: Kernel[list[float]]
|
||||||
|
|
||||||
def build(self, repeats=100):
|
def build(self, repeats=100):
|
||||||
self.setattr_device("core")
|
self.setattr_device("core")
|
||||||
self.repeats = repeats
|
self.repeats = repeats
|
||||||
|
|
||||||
|
@rpc
|
||||||
def nop(self):
|
def nop(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user