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.15.0.tar.gz
sha256=22a8d0347cb0c7a349a316ff250f059ab90dafd20f14373f08ef04500b967c62

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.