On 25-1-2016 01:03, Adam C. Emerson wrote: > On 24/01/2016, Willem Jan Withagen wrote: >> Not to irritate, but I just updated my copy of ceph:master and I could >> not find any trace of a reference to CLOCK_MONOTONIC_FAST, so it has to >> be in any of the WIPs ?? > > I had meant that there was an abstraction there, rather than that we had > CLOCK_MONOTONIC_FAST already. But, does: > > https://github.com/ceph/ceph/pull/7340 > > Work under your system/seem a sane way of doing it? That is 99,5% of what I had in my WIP. The difference is that I matched it on __linux__ and __FreeBSD__, but yours is definitely even better, since it if-then-else on what is really under observation. I would comment the last section: the #else with a remark that you select POSIX if nothing else, but that POSIX is more/unneeded accurate and slow. --WjW -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html