test: check kernel overhead credibility

This commit is contained in:
Sebastien Bourdeauducq 2018-01-28 01:02:03 +08:00
parent e8ed3475ea
commit 67625fe912
1 changed files with 1 additions and 0 deletions

View File

@ -79,4 +79,5 @@ class KernelOverheadTest(ExperimentCase):
exp = self.create(_KernelOverhead) exp = self.create(_KernelOverhead)
kernel_overhead = exp.kernel_overhead() kernel_overhead = exp.kernel_overhead()
print(kernel_overhead, "s") print(kernel_overhead, "s")
self.assertGreater(kernel_overhead, 0.001)
self.assertLess(kernel_overhead, 0.5) self.assertLess(kernel_overhead, 0.5)