Spec-Zone.ru › OCaml
☰The OCaml library
  • The core library
  • The standard library
  • The compiler front-end
  • The unix library: Unix system calls
  • The str library: regular expressions and string processing
  • The runtime_events library
  • The threads library
  • The dynlink library: dynamic loading and linking of object files
  • Recently removed or moved libraries (Graphics, Bigarray, Num, LablTk)

Chapter 34 The runtime_events library

The runtime_events library provides an API for consuming runtime tracing and metrics information from the runtime. See chapter 26 for more information.

Programs that use runtime_events must be linked as follows:

        ocamlc -I +runtime_events other options unix.cma runtime_events.cma other files
        ocamlopt -I +runtime_events other options unix.cmxa runtime_events.cmxa other files

Compilation units that use the runtime_events library must also be compiled with the -I +runtime_events option (see chapter 13).

  • Module Runtime_events: tracing system
« The str library: regular expressions and string processingThe threads library »
Copyright © 2026 Institut National de Recherche en Informatique et en Automatique

© 1995-2026 INRIA.
https://ocaml.org/manual/5.5/runtime_events.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API