mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add Windows as a supported OS for Process.clock_gettime [ci skip]
This commit is contained in:
parent
f4b73f77ef
commit
7e36b91526
Notes:
git
2021-08-28 18:26:39 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -8128,8 +8128,8 @@ ruby_real_ms_time(void)
|
|||
* The supported constants depends on OS and version.
|
||||
* Ruby provides following types of +clock_id+ if available.
|
||||
*
|
||||
* [CLOCK_REALTIME] SUSv2 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 2.1, macOS 10.12
|
||||
* [CLOCK_MONOTONIC] SUSv3 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 3.4, macOS 10.12
|
||||
* [CLOCK_REALTIME] SUSv2 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 2.1, macOS 10.12, Windows-8/Server-2012
|
||||
* [CLOCK_MONOTONIC] SUSv3 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 3.4, macOS 10.12, Windows-2000
|
||||
* [CLOCK_PROCESS_CPUTIME_ID] SUSv3 to 4, Linux 2.5.63, FreeBSD 9.3, OpenBSD 5.4, macOS 10.12
|
||||
* [CLOCK_THREAD_CPUTIME_ID] SUSv3 to 4, Linux 2.5.63, FreeBSD 7.1, OpenBSD 5.4, macOS 10.12
|
||||
* [CLOCK_VIRTUAL] FreeBSD 3.0, OpenBSD 2.1
|
||||
|
|
Loading…
Add table
Reference in a new issue