Module Trace_stat_summary.Bag_stat_folder

Summary computation for statistics recorded in Def.bag_of_stat.

type acc = {
  1. value_before_commit : Vs.acc;
  2. value_after_commit : Vs.acc;
  3. diff_per_block : Vs.acc;
  4. diff_per_buildup : Vs.acc;
  5. diff_per_commit : Vs.acc;
  6. prev_value : float;
  7. value_of_bag : Def.bag_of_stats -> float;
  8. should_cumulate_value : bool;
}
val create_acc : ?is_linearly_increasing:bool -> ?should_cumulate_value:bool -> Def.pack Def.header_base -> int -> (Def.bag_of_stats -> float) -> acc
val accumulate : acc -> [> `Commit of Def.pack Def.commit_base ] -> acc
val finalise : acc -> bag_stat
val create : ?should_cumulate_value:bool -> ?is_linearly_increasing:bool -> Def.pack Def.header_base -> int -> (Def.bag_of_stats -> float) -> ([> `Commit of Def.pack Def.commit_base ], acc, bag_stat) Utils.Parallel_folders.folder