1
0
forked from M-Labs/artiq

test_rtio: add missing annotations

This commit is contained in:
Sebastien Bourdeauducq 2024-12-15 21:48:12 +08:00
parent 3b2bc4b6bb
commit 977f2f3661

View File

@ -676,11 +676,17 @@ class CoredeviceTest(ExperimentCase):
self.assertEqual(dt, 8000)
@nac3
class RPCTiming(EnvExperiment):
core: KernelInvariant[Core]
repeats: KernelInvariant[int32]
ts: Kernel[list[float]]
def build(self, repeats=100):
self.setattr_device("core")
self.repeats = repeats
@rpc
def nop(self):
pass