cheap equivalent of now()
Mon May 22 10:21:42 CEST 2006
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?
Network security consulting
t +37491 419763 (mob)
More information about the erlang-questions