mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
hrtime.h: add note explaining current use of uint64_t [ci skip]
[ruby-core:88678] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
50840311de
commit
3a83ba90c3
1 changed files with 2 additions and 1 deletions
3
hrtime.h
3
hrtime.h
|
@ -8,7 +8,8 @@
|
|||
|
||||
/*
|
||||
* 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue