package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.2.1.tbz
sha256=ca24f72fa9a87d288affe97c411753f14b7802bab4ca3649b337276b89bf5674
sha512=394b3521ccda0da91540cebb2f433f7525763060be4bbe179edd3b952a3580a8e173c4e410fc6895dc67fe6d17e6699aeddfed600f4692858bec093dd912bf1e

doc/goblint.lib/Goblint_lib/Timing/Program/index.html

Module Timing.Program

Lifecycle

val start : Goblint_timing__.Goblint_timing_intf.options -> unit

Start timing with options.

val stop : unit -> unit

Stop timing, but don't reset timing information.

val reset : unit -> unit

Reset timing information.

Measurement

val enter : ?args:(string * Catapult.Tracing.arg) list -> string -> unit

enter name enters a new nested timed section called name.

  • parameter args

    custom data for TEF

val exit : string -> unit

exit name exits the current timed section called name. Sections must be exited in valid nested fashion.

val wrap : ?args:(string * Catapult.Tracing.arg) list -> string -> ('a -> 'b) -> 'a -> 'b

wrap name f x runs f x and measures it as a timed section called name.

  • parameter args

    custom data for TEF

Output

val print : Stdlib.Format.formatter -> unit

Pretty-print current timing hierarchy.

val root : Goblint_timing__.Goblint_timing_intf.tree

Root node of timing tree. Must not be mutated!

OCaml

Innovation. Community. Security.