From: Tanaka Akira Date: 2013-08-17T18:49:06+09:00 Subject: [ruby-core:56680] Re: [ruby-cvs:49733] eregon:r42591 (trunk): * process.c (rb_clock_gettime): document CLOCK_REALTIME and 2013/8/17 Benoit Daloze : > 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? How about to describe :MACH_ABSOLUTE_TIME_CLOCK_MONOTONIC after :POSIX_TIME_CLOCK_REALTIME ? :POSIX_GETTIMEOFDAY_CLOCK_REALTIME and :POSIX_TIME_CLOCK_REALTIME are documented emulations using gettimeofday() and time(). -- Tanaka Akira