From 67625fe9120b1952f691b3d4e5b632ecf265bf5d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 28 Jan 2018 01:02:03 +0800 Subject: [PATCH] test: check kernel overhead credibility --- artiq/test/coredevice/test_performance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/test/coredevice/test_performance.py b/artiq/test/coredevice/test_performance.py index 6a5e6d647..e6f70336b 100644 --- a/artiq/test/coredevice/test_performance.py +++ b/artiq/test/coredevice/test_performance.py @@ -79,4 +79,5 @@ class KernelOverheadTest(ExperimentCase): exp = self.create(_KernelOverhead) kernel_overhead = exp.kernel_overhead() print(kernel_overhead, "s") + self.assertGreater(kernel_overhead, 0.001) self.assertLess(kernel_overhead, 0.5)