Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use monotonic_time for Erlang #28

Open
jlouis opened this issue Feb 14, 2016 · 0 comments
Open

Use monotonic_time for Erlang #28

jlouis opened this issue Feb 14, 2016 · 0 comments

Comments

@jlouis
Copy link

jlouis commented Feb 14, 2016

This is really a minor nitpick, but system_time is under the influence of NTP and shouldn't be used as a difference clock source. Use erlang:monotonic_time(native) and then convert the difference to milli-seconds. This is time-warp safe.

It probably will not hit your benchmark in any way, but it is important to get right in larger production systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant