Understanding time

Frank Muller frank.muller.erl@REDACTED
Tue Sep 7 08:27:01 CEST 2021


Hi Everyone

Yesterday, a Java developer told me that getting unique timestamps is only
guaranteed to be possible between COREs on the same CPU. Stated otherwise,
two processes on two different CPUs could get the same timestamp.

I’m now wondering if calls to “erlang:system_time/1” are strictly monotonic
(
https://erlang.org/doc/apps/erts/time_correction.html#strictly-monotonically-increasing)
between Erlang processes on the same scheduler, and even between Erlang
processes on different schedulers.

Can anyone clarify please?

/Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210907/568d3e89/attachment.htm>


More information about the erlang-questions mailing list