package eio

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

Module Ctf.ControlSource

Sourcetype t
Sourceval make : timestamper:(log_buffer -> int -> unit) -> log_buffer -> t

make ~timestamper b is a trace buffer that record events in b. In most cases, the Ctf_unix module provides a simpler interface.

Sourceval start : t -> unit

start t begins recording events in t.

Sourceval stop : t -> unit

stop t stops recording to t (which must be the current trace buffer).