package eio

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

Module Eio_unix.CtfSource

Sourceval timestamper : Eio.Private.Ctf.log_buffer -> int -> unit

Uses Mtime_clock to write timestamps.

Sourceval mmap_buffer : size:int -> string -> Eio.Private.Ctf.log_buffer

mmap_buffer ~size path initialises file path as an empty buffer for tracing.

Sourceval with_tracing : ?size:int -> string -> (unit -> 'a) -> 'a

with_tracing path fn is a convenience function that uses mmap_buffer to create a log buffer, calls Ctf.Control.start to start recording, runs fn, and then stops recording.

OCaml

Innovation. Community. Security.