]> matita.cs.unibo.it Git - helm.git/blobdiff - components/extlib/hExtlib.ml
Huge commit for the release. Includes:
[helm.git] / components / extlib / hExtlib.ml
index 5f96e0f84e7fad3237394a835e68dfafe1311b31..93eabf2acdfa355b73d89da1da474c8dd3f2708b 100644 (file)
@@ -52,7 +52,7 @@ let profile ?(enable = true) =
    in
    at_exit
     (fun () ->
-      if !profiling_printings () then
+      if !profiling_printings () && !total <> 0. then
         prerr_endline
          ("!! TOTAL TIME SPENT IN " ^ s ^ ": " ^ string_of_float !total));
    { profile = profile }