package tracing

  1. Overview
  2. Docs

Named arguments of various simple types can be attached to events and will show up in the bottom details panel when an event is selected in Perfetto.

type value =
  1. | Interned of string
    (*

    use for strings which can be interned into a limited pool

    *)
  2. | String of string
    (*

    use for strings with a large number of unique values

    *)
  3. | Int of int
  4. | Float of float
    (*

    written as a double-precision float

    *)
val sexp_of_value : value -> Sexplib0.Sexp.t
type t = string * value

Each argument has a name, the names are interned

val sexp_of_t : t -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.