Skip to content
Snippets Groups Projects
Commit b1273bab authored by David Bühler's avatar David Bühler
Browse files

[Eva] Resets statistics in function [pre_analysis].

parent 8db1e8cf
No related branches found
No related tags found
No related merge requests found
......@@ -214,7 +214,6 @@ let force_compute () =
Eva_audit.check_configuration (Kernel.AuditCheck.get ());
let kf, lib_entry = Globals.entry_point () in
reset_analyzer ();
Statistics.reset_all ();
(* The new analyzer can be accesed through hooks *)
Self.set_computation_state Computing;
let module Analyzer = (val snd !ref_analyzer) in
......
......@@ -85,6 +85,7 @@ let pre_analysis () =
Widen.precompute_widen_hints ();
Builtins.prepare_builtins ();
Eva_perf.reset ();
Statistics.reset_all ();
(* We may be resuming Value from a previously crashed analysis. Clear
degeneration states *)
Eva_utils.DegenerationPoints.clear ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment