package catapult

  1. Overview
  2. Docs
Tracing system based on the Catapult/TEF format

Install

Dune Dependency

Authors

Maintainers

Sources

v0.1.tar.gz
md5=a7bfa27c3ddd2d29c27173de09293149
sha512=49766ea38c57734918debd6218d95c62f11eb12a6fd3ef5f6a2c60344cea7c274436a46fab1e48abbe0d3f125f31705d2005ab7cae9e56d5f41778c1d2943d65

doc/catapult.utils/Catapult_utils/Gc_stats/index.html

Module Catapult_utils.Gc_statsSource

Sourceval set_gc_interval_us : float -> unit

Set the interval, in microseconds, between 2 successive gathering of GC statistics, to be emitted as catapult counters.

Sourceval maybe_emit : now:float -> pid:int -> unit -> unit

This checks whether it has been long enough since we last emitted counters for the GC. If it has, then it emits the event and resets the clock.

  • parameter pid

    PID of the current process

OCaml

Innovation. Community. Security.