Skip to content

2.0.0+dune

Latest
Compare
Choose a tag to compare
@Leonidas-from-XIV Leonidas-from-XIV released this 04 Jan 14:41
· 0 commits to master since this release
4ddda1e

CHANGES:

  • Use the new js_of_ocaml ocamlfind META standard to link JavaScript
    stubs (dbuenzli#28).
  • Mtime_clock use CLOCK_BOOTTIME rather than CLOCK_MONOTONIC
    on Linux and mach_continuous_time rather than mach_absolute_time
    on macOS. This means that on these platforms sleep time is taken
    into account (dbuenzli#10). Thanks to Bikal Lem for the patch.
  • Add Mtime.{to,of}_float_ns.
  • Remove deprecated values Mtime.s_to_* and Mtime.Span.to_* floating
    points functions. Note that the implementation of Mtime.Span.to_*
    functions was broken if your span exceeded Int64.max_int. Thanks
    to Thomas Leonard for the report (dbuenzli#46).
  • Change implementation of Mtime.Span.pp and remove
    Mtime.Span.pp_float_s. The implementation no longer uses floating
    point arithmetic and always over approximates the result, no
    duration is printed shorter than it is. The output is no longer
    US-ASCII but UTF-8 encoded since U+03BC is used for µs.
  • Stop installing the clock interface in mtime.clock, this package
    is now empty (dbuenzli#42).