package ppx_module_timer

  1. Overview
  2. Docs
Ppx rewriter that records top-level module startup times

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=fcc39a8623f7c4e1bb40ce6ed5e9af596938f88f5718f01417ed39b11fc5e264

doc/ppx_module_timer.runtime/Ppx_module_timer_runtime/Duration/index.html

Module Ppx_module_timer_runtime.DurationSource

Sourcetype t
Sourceval to_nanoseconds : t -> Base.Int63.t
Sourceval of_nanoseconds : Base.Int63.t -> t
Sourcemodule type Format = sig ... end
Sourceval format : (module Format) Base.ref

Determines the format of durations when reading am_recording_environment_variable and when printing results. Defaults to integer nanoseconds with a "ns" suffix.

Core.Time_ns overrides this to use Time_ns.Span.to_string on input and Time_ns.Span.to_string_hum on output.

OCaml

Innovation. Community. Security.