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.stats/Stats/StatLogger/index.html

Module Stats.StatLoggerSource

Save stats between mutliple codex runs. Each logger saves a mapping string -> stat between various runs.

THE LOGGER MUST BE INSTANCIATED BEFORE THE STARTUP HOOK IS EXECUTED, an failwith will be triggered if that is not the case.

Parameters

module S : sig ... end

Signature

Sourceval add : string -> S.stat -> unit

add key stat Add a stat with the given key. If a stat is already present for this key, they are merged with S.combine key old_stat stat

Sourceval get : string -> S.stat option

Get the stat value for the key, None if the key is undefined.

Sourceval to_list : unit -> (string * S.stat) list

Return a list of all defined keys and their associated value