package ppx_module_timer

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_module_timer-v0.16.0.tar.gz
sha256=2aee6ebec3dc3378a88a245a2c4f7c6314e96c377a02f390622c125bcef41f74

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.