[PATCH] D27429: [Chrono][Darwin] On Darwin use CLOCK_UPTIME_RAW instead of CLOCK_MONOTONIC
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 6 12:30:32 PST 2017
EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.
In https://reviews.llvm.org/D27429#637507, @bruno wrote:
> @EricWF ok to commit?
Yes sorry This LGTM. (I thought I had approved this yesterday, but I forgot to hit enter).
================
Comment at: src/chrono.cpp:218
+#error "Never use CLOCK_MONOTONIC for steady_clock::now on Apple platforms"
+#endif
+
----------------
howard.hinnant wrote:
> Nice, thanks!
This code is currently dead due to the structure of the `#ifdef`s. However I think it's great documentation and great future proofing!
https://reviews.llvm.org/D27429
More information about the cfe-commits
mailing list