cheap equivalent of now()
Gaspar Chilingarov
nm@REDACTED
Mon May 22 10:21:42 CEST 2006
Hi all!
I've searched erlang documentation but without any positive results...
Are there a way to get unix_timestamp at low cost? Even not-so-precise
as erlang:now() - it may be even a little bit illegal - say several
seconds back of real time ...
I wish to have time recorded with a several second precision, but making
too much erlang:now() calls is not a good idea -- at least
gettimeoffay() for C applications can create serios slowdown of program.
Seems, that the only way to achieve this is a creating standalone
process and requesting timestamp from it?
--
Gaspar Chilingarov
System Administrator,
Network security consulting
t +37491 419763 (mob)
i 63174784
e nm@REDACTED
More information about the erlang-questions
mailing list