This lets us have a coarse-time implementation with reasonable performance characteristics on OSX and iOS. Implements 24427.