Module cernan::time [] [src]

Collection of time utilities for cernan

Time in cernan is not based strictly on wall-clock. We keep a global clock for cernan and update it ourselves periodically. See update_time in this module for more details.

Functions

delay

Pause a thread of execution

now

Return the current time in epoch seconds

update_time

Update cernan's view of time every 500ms. Time is in UTC.