[sledge] Build: Move Timer to Nonstdlib

Summary:
It has no dependencies on the rest of the sledge codebase and might be
more generally useful.

Reviewed By: jvillard

Differential Revision: D21720980

fbshipit-source-id: b4f061e73
master
Josh Berdine 5 years ago committed by Facebook GitHub Bot
parent cfc25ab825
commit 9c8f2e4a5c

@ -351,4 +351,4 @@ let checker ({InterproceduralAnalysis.proc_desc} as analysis_data) =
None None
let () = Sledge.Timer.enabled := Config.sledge_timers let () = NS.Timer.enabled := Config.sledge_timers

@ -148,3 +148,5 @@ module Z = struct
include Z include Z
end end
module Timer = Timer

@ -128,3 +128,5 @@ module Z : sig
val is_true : t -> bool val is_true : t -> bool
val is_false : t -> bool val is_false : t -> bool
end end
module Timer = Timer

@ -7,6 +7,8 @@
(** Timers for runtime statistics *) (** Timers for runtime statistics *)
open NS0
type t = type t =
{ mutable ustart: float { mutable ustart: float
; mutable sstart: float ; mutable sstart: float
Loading…
Cancel
Save