Leonidas-from-XIV
released this
04 Jan 14:41
·
0 commits
to master
since this release
CHANGES:
- Use the new
js_of_ocaml
ocamlfindMETA
standard to link JavaScript
stubs (dbuenzli#28). Mtime_clock
useCLOCK_BOOTTIME
rather thanCLOCK_MONOTONIC
on Linux andmach_continuous_time
rather thanmach_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_*
andMtime.Span.to_*
floating
points functions. Note that the implementation ofMtime.Span.to_*
functions was broken if your span exceededInt64.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).