(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* 'a type 'a installer = ('a getter) -> unit val new_counter : name:string -> 'a -> incr:('a -> 'a) -> build:('a -> 'b) -> 'b getter * 'b installer type remote_counters_status val backup : unit -> remote_counters_status (* like backup but makes a copy so that further increment does not alter * the snapshot *) val snapshot : unit -> remote_counters_status val restore : remote_counters_status -> unit