ruby-changes:52346
From: normal <ko1@a...>
Date: Mon, 27 Aug 2018 17:48:56 +0900 (JST)
Subject: [ruby-changes:52346] normal:r64554 (trunk): hrtime.h: add note explaining current use of uint64_t [ci skip]
normal 2018-08-27 17:48:49 +0900 (Mon, 27 Aug 2018) New Revision: 64554 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64554 Log: hrtime.h: add note explaining current use of uint64_t [ci skip] [ruby-core:88678] Modified files: trunk/hrtime.h Index: hrtime.h =================================================================== --- hrtime.h (revision 64553) +++ hrtime.h (revision 64554) @@ -8,7 +8,8 @@ https://github.com/ruby/ruby/blob/trunk/hrtime.h#L8 /* * Hi-res monotonic clock. It is currently nsec resolution, which has over - * 500 years of range (unsigned). + * 500 years of range (with an unsigned 64-bit integer). Developers + * targeting small systems may try 32-bit and low-resolution (milliseconds). * * TBD: Is nsec even necessary? usec resolution seems enough for userspace * and it'll be suitable for use with devices lasting over 500,000 years -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/