[erlang-bugs] erlang:monotonic_time() is negative

Sergej Jurečko sergej.jurecko@REDACTED
Tue Sep 1 14:20:31 CEST 2015


hello,

Using 18.0.3 on OS X 10.10.5. I even tried rebooting the machine to check
if the time turns negative after a while, but it seems it is always
negative.

erlang:monotonic_time().
-576460736152226213

Other timing calls:

erlang:system_info(time_correction).
true

erlang:system_info(os_monotonic_time_source).
[{function,clock_get_time},
 {clock_id,'SYSTEM_CLOCK'},
 {resolution,10000000},
 {extended,no},
 {parallel,yes},
 {time,593734054849752}]

erlang:system_time().
1441101200986915220

erlang:unique_integer().
-576460752303423486

erlang:system_info(os_system_time_source).
[{function,clock_get_time},
 {clock_id,'CALENDAR_CLOCK'},
 {resolution,10000000},
 {parallel,yes},
 {time,1441101320775081000}]

Sergej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150901/643106b9/attachment.htm>


More information about the erlang-bugs mailing list