[erlang-bugs] erlang:monotonic_time() is negative
Joe Armstrong
erlang@REDACTED
Tue Sep 1 15:35:01 CEST 2015
Wow - we've invented a time machine - what stocks are going up tomorrow?
/Joe
On Tue, Sep 1, 2015 at 2:20 PM, Sergej Jurečko <sergej.jurecko@REDACTED> wrote:
> 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
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
More information about the erlang-bugs
mailing list