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.13.0.tar.gz
sha256=49938df7e0f0c0b2f55704afa467d6343852f8592257dccc7f3541a92eb9bcea
md5=b0765d8807f2f7402e5e0c822037ce02

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

Module Ppx_module_timer_runtime.Duration

type t
val to_nanoseconds : t -> Base.Int63.t
val of_nanoseconds : Base.Int63.t -> t
module type Format = sig ... end
val 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_kernel.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.