From 91078fbc7b0719150a0c7749a1de9e5c0c9bbdeb Mon Sep 17 00:00:00 2001 From: Raimo Niskanen Date: Tue, 6 Jul 2010 16:15:36 +0200 Subject: Documentation clarifications for now/0 and timer:tc/3 --- erts/doc/src/erlang.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'erts/doc/src') diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 77a628e82b..54a0a80536 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -2767,8 +2767,10 @@ os_prompt% Otherwise, some other point in time is chosen. It is also guaranteed that subsequent calls to this BIF returns continuously increasing values. Hence, the return value from - now() can be used to generate unique time-stamps. It - can only be used to check the local time of day if + now() can be used to generate unique time-stamps, + and if it is called in a tight loop on a fast machine + the time of the node can become skewed.

+

It can only be used to check the local time of day if the time-zone info of the underlying operating system is properly configured.

-- cgit v1.2.3