package logtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Profiler interface

type t
val enable_profiling : bool -> unit

Enable/disable profiling

val make : string -> t

Create a named profiler

val enter_prof : t -> unit

Enter the profiler

val exit_prof : t -> unit

Exit the profiler

val with_prof : t -> ('a -> 'b) -> 'a -> 'b
OCaml

Innovation. Community. Security.