package goblint

  1. Overview
  2. No Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.5.0.tbz
sha256=452d8491527aea21f2cbb11defcc14ba0daf9fdb6bdb9fc0af73e56eac57b916
sha512=1993cd45c4c7fe124ca6e157f07d17ec50fab5611b270a434ed1b7fb2910aa85a8e6eaaa77dad770430710aafb2f6d676c774dd33942d921f23e2f9854486551

doc/goblint.common/Timing/Default/index.html

Module Timing.Default

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.