Contents:
Clock based on absolute time rather than relative. Can tick at a constant rate.
Reset time (or set to t).
Wait until time is t + last_tick.
Return time since elapse.
Sleep until time is t.