[PATCH] D27429: [Chrono][Darwin] On Darwin use CLOCK_UPTIME_RAW instead of CLOCK_MONOTONIC

Howard Hinnant via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 11 14:16:47 PST 2016


howard.hinnant added a comment.

Thanks Eric.

Fwiw `CLOCK_MONOTONIC` won't meet the requirements of the standard either.  The standard appears to require `steady_clock` to be a perfect clock and there is no such thing. The wording used to only require monotonic, but the committee got a little too enthusiastic.   :-)


https://reviews.llvm.org/D27429





More information about the cfe-commits mailing list