Eva.StatisticsSourceThis module keeps track of statistics collected by Eva during an analysis.
Type of statistics. Type parameter 'a show whether a statistic is tied:
kernel_function,stmt,unit.
val iterations : Frama_c_kernel.Cil_types.stmt tval memexec_hits : Frama_c_kernel.Cil_types.kernel_function tval memexec_misses : Frama_c_kernel.Cil_types.kernel_function tval max_widenings : Frama_c_kernel.Cil_types.stmt tval max_unrolling : Frama_c_kernel.Cil_types.stmt tval partitioning_index_hits : unit tval partitioning_index_misses : unit t
val register_global_stat : string -> unit tRegisters a statistic tied to the whole program.
val register_function_stat :
string ->
Frama_c_kernel.Cil_types.kernel_function tRegisters a statistic tied to functions.
val register_statement_stat : string -> Frama_c_kernel.Cil_types.stmt tRegisters a statistic tied to statements.
val get : 'a t -> 'a -> intGet the current stat value for a given element (statement, function or unit according to the statistic type). *
val set : 'a t -> 'a -> int -> unitSet the stat to the given value.
val incr : 'a t -> 'a -> unitAdds 1 to the stat or set it to 1 if undefined.
val grow : 'a t -> 'a -> int -> unitSet the stat to the maximum between the current value and the given value.