Trace_collection.Make_statMake state trace collector.
module Store : Irmin.Generic_key.KVmodule Def = Trace_definitions.Stat_tracetype t = {writer : Def.writer;store_path : string;mutable t0 : Mtime_clock.counter;mutable prev_merge_durations : float list;mutable commit_before : Def.bag_of_stats * Def.store_before;}Imperative stat trace collector. It is optimised to minimise the CPU footprint.
module Bag_of_stats : sig ... endval create_file : string -> Def.config -> string -> tval flush : t -> unitval close : t -> unitval remove : t -> unitval short_op_begin : t -> unitval short_op_end :
t ->
[< `Add | `Checkout | `Copy | `Find | `Mem | `Mem_tree | `Remove ] ->
unitval create_store_before : Store.tree -> Def.store_before Lwt.tval create_store_after : Store.tree -> Def.store_after Lwt.tval commit_begin : t -> Store.tree -> unit Lwt.tval commit_end : t -> Store.tree -> unit Lwt.t