feat: make mtime optional with dummy "tef" backend

This commit is contained in:
Simon Cruanes 2021-07-18 10:31:03 -04:00
parent c7bf4b01e7
commit 041e83139d
3 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,3 @@
let setup() = ()
let teardown() = ()

View file

@ -3,6 +3,10 @@
(name sidekick_tef)
(public_name sidekick.tef)
(synopsis "profiling backend based on TEF")
(optional)
(flags :standard -warn-error -a+8)
(libraries sidekick.util unix threads mtime mtime.clock.os))
(libraries
sidekick.util unix threads
(select Sidekick_tef.ml from
(mtime mtime.clock.os -> Sidekick_tef.real.ml)
(-> Sidekick_tef.dummy.ml)))
(optional))