D-Programming-Language/phobos — pull request #2584 by jmdavis (2014-10-04 09:34:25+00:00)
Title: Implement issue 13433 - add option for using coarser realtime clock.

This adds an option for getting the time using the coarser, faster
realtime clock on systems that support it for those who need to get the
time frequently (and thus quickly) but don't need it to be particularly
precise.

https://issues.dlang.org/show_bug.cgi?id=13433

The OSX change is because it's the only one using `gettimeofday`. I figured that it was better to change that to go off of the OS version rather than whether `clock_gettime` existed or not.