package eio-trace

  1. Overview
  2. Docs

Module Eio_trace.LayoutSource

Sourceval debug_layout : bool
Sourcetype timestamp = float
Sourcemodule Ids : sig ... end
Sourcemodule Spans : sig ... end
Sourcetype event =
  1. | Log of string
  2. | Error of string
  3. | Create_cc of string * item
  4. | Add_fiber of {
    1. parent : int;
    2. child : item;
    }
Sourceand item = {
  1. id : int;
  2. name : string option;
  3. end_time : timestamp option;
  4. events : (timestamp * event) array;
  5. mutable y : int;
  6. mutable height : int;
  7. mutable end_cc_label : timestamp option;
  8. mutable activations : (timestamp * [ `Span of string | `Suspend of string ] list) array;
}
Sourcemodule Ring : sig ... end
Sourcetype t = {
  1. items : item Ids.t;
  2. start_time : int64;
  3. duration : float;
  4. height : int;
  5. rings : Ring.t Trace.Rings.t;
}
Sourceval get : t -> Ids.key -> item option
Sourceval map_event : (Trace.item -> item) -> Trace.event -> event
Sourceval dummy_event : float * event
Sourceval get_id : (string * [> `Pointer of int64 ]) list -> int
Sourceval as_string : [> `String of 'a ] -> 'a
Sourceval layout_item : duration:timestamp -> item -> unit
Sourceval make_y_absolute : item -> int -> unit
Sourceval layout_ring : duration:timestamp -> Ring.t -> unit
Sourceval of_trace : Trace.t -> t
Sourceval start_time : t -> int64
Sourceval ring : t -> Trace.Rings.key -> Ring.t
Sourceval load : string -> t
OCaml

Innovation. Community. Security.