package codex

  1. Overview
  2. Docs
The Codex library for building static analysers based on abstract interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0-rc4.tar.gz
md5=bc7266a140c6886add673ede90e335d3
sha512=8da42c0ff2c1098c5f9cb2b5b43b306faf7ac93b8f5ae00c176918cee761f249ff45b29309f31a05bbcf6312304f86a0d5a000eb3f1094d3d3c2b9b4c7f5c386

doc/codex.single_value_abstraction/Single_value_abstraction/Stats/index.html

Module Single_value_abstraction.StatsSource

Automatically computes stats about the number of calls.

Sourcemodule In_bits = Units.In_bits
Sourcemodule IntMap : sig ... end
Sourcetype func_stats = {
  1. nb_args : int;
    (*

    How many arguments does the function take.

    *)
  2. nb_calls : int;
    (*

    How many times the function was called.

    *)
  3. nb_constant_returns : int;
    (*

    How many times the return value was constant.

    *)
  4. nb_constant_calls : int IntMap.t;
    (*

    For each nb_constant, how many calls with that number of constant args.

    *)
  5. return_size : int IntMap.t option;
    (*

    For each size, how many calls returning that size, if applicable.

    *)
  6. total_time : (int, Stats.compact) Stats.t;
    (*

    Total time spend in this function, in microseconds, across all calls

    *)
}

Aggregated statistics for each transfer function.

Sourceval micro_units : string list
Sourceval micro_units_with_s : string list
Sourceval nano_units : string list
Sourceval print_stats : Format.formatter -> (string * func_stats) list -> unit

Print individual stats for each function in individual order

Sourceval string_ljust : string -> int -> string
Sourceval pp_spread : ?justify:bool -> string list -> string -> Format.formatter -> (int, 'a) Stats.t -> unit
Sourceval print_summary : Format.formatter -> (string * func_stats) list -> unit

Print a summary comparing each functions total runtime

Sourcemodule Make (Sub : sig ... end) : sig ... end