I'll leave it using the microsecond clock for the time being, since this precision is guaranteed for all platforms whereas nanosecond is not, and it'll need investigation of how to determine if it's available.