Module ce_timer

Description

Timer library.

Function Index

Exported Functions
now_diff/2Returns difference between two times returned from now(), in ms.
sleep/1A function that allows for longer sleeps than does timer:sleep/1.
sleep_forever/0Sleeps indefinately.
sleep_until_registered/1Sleeps until the given process name is registered.
Internal Documented Functions
system_time/0Returns the system time in milli-seconds.

Exported Functions

now_diff/2

now_diff(now_time(), now_time()) -> integer()

Returns difference between two times returned from now(), in ms. Thanks to Ulf Wiger for this code.

sleep/1

sleep(integer()) -> ok

A function that allows for longer sleeps than does timer:sleep/1. Thanks to Ulf Wiger for this code.

sleep_forever/0

sleep_forever() -> never_returns

Sleeps indefinately.

sleep_until_registered/1

sleep_until_registered(atom()) -> ok

Sleeps until the given process name is registered.

Documented Internal Functions

system_time/0

system_time() -> integer()

Returns the system time in milli-seconds.