X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Ftracer.ml;h=9eae54768ef81575279d9812f88cd1845fecdbd6;hb=7166a99542af5ad2f5b53fe9fa9e5164dff7cfe5;hp=eae76a5e2b4cda651a2125ddbd30272a254cfe93;hpb=43906e89a76c67491e2a567990980df787036088;p=SXSI%2Fxpathcomp.git diff --git a/src/tracer.ml b/src/tracer.ml index eae76a5..9eae547 100644 --- a/src/tracer.ml +++ b/src/tracer.ml @@ -3,7 +3,7 @@ open Format type tracer = string type level = int -let tracers = [ "top-down-run"; "top-down-approx"; "result-set" ] +let tracers = [ "top-down-run"; "top-down-approx"; "result-set"; "level2-jit"; "res-jit" ] let active_tracers : (tracer, int) Hashtbl.t = Hashtbl.create 17 let available () = tracers @@ -21,5 +21,5 @@ let trace t l s = if l <= level t then begin fprintf !tracer_output "%s: " t; - fprintf !tracer_output "%s" s + fprintf !tracer_output "%s%!" s end