(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* (Int64.t, string) Result.t = let drop () = try Perf.drop () with Failure(_) -> () in try Perf.init (); at_exit drop; fun () -> try Ok(Perf.peek ()) with Failure(msg) -> Error(msg) with Failure(msg) -> fun () -> Error(msg)