package eio-trace

  1. Overview
  2. Docs

Module Trace.RingSource

Sourcetype id = int
Sourcetype root = {
  1. mutable parent : (timestamp * int) option;
  2. mutable cc : (timestamp * item) option;
}
Sourcetype event =
  1. | Suspend of string
  2. | Gc of string
Sourcetype t = {
  1. mutable current_fiber : int option;
  2. mutable events : (timestamp * event list) list;
  3. mutable roots : root list;
}
Sourceval push : t -> timestamp -> event -> unit
Sourceval pop : t -> timestamp -> unit
OCaml

Innovation. Community. Security.