From: Benoit Daloze Date: 2013-08-17T10:21:28+02:00 Subject: [ruby-core:56678] Re: [ruby-cvs:49733] eregon:r42591 (trunk): * process.c (rb_clock_gettime): document CLOCK_REALTIME and On 17 August 2013 02:52, Tanaka Akira wrote: > 2013/8/17 : >> eregon 2013-08-17 01:55:13 +0900 (Sat, 17 Aug 2013) >> >> New Revision: 42591 >> >> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42591 >> >> Log: >> * process.c (rb_clock_gettime): document CLOCK_REALTIME and >> CLOCK_MONOTONIC are now available on Darwin. > > I intend that the list in the clock_gettime document OS information: > OS and version for each clock in OS's clock_gettime function. > > I think Darwin still doesn't provide clock_gettime. I see, I'll revert the commit. > If you intend to change the list to include emulation in Ruby, > it is incomplete because Ruby has several other emulations. I think it should at least be mentioned somewhere Darwin now supports CLOCK_MONOTONIC (might be worth precising via mach_absolute_time()). Indeed, this is an emulation, do you have an idea to document that nicely? For the version, it seems those function have been available for such a long time that the version would not matter much here.