Wait, no -- I missed something. As long as the outermost Atom routine is run every `n' µs by a hardware clock, the counter (`__global_clock') will contain an accurate count of how many `n' µs intervals have passed in our application. -- Jason Dusek