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.