Common.DebugSourceHelper functions for debugging. *
val time_of :
((string -> float -> unit) Lplib.Base.outfmt -> string -> float -> unit) ->
string ->
(unit -> 'b) ->
'btime_of log f x computes f x and prints the time for computing it.
record_time s f records under s the time spent in calling f. print_time () outputs the recorded times.
record_time s f records under s the time spent in calling f. print_time () outputs the recorded times.