30件ヒット
[1-30件を表示]
(0.428秒)
検索結果
先頭3件
-
Process
:: CLOCK _ UPTIME _ RAW _ APPROX -> Integer (45218.0) -
Process.#clock_gettime で使われます。
...
Process.#clock_gettime で使われます。
システムによっては定義されていません。... -
Process
. # clock _ gettime(clock _ id , unit=:float _ second) -> Float | Integer (21228.0) -
POSIX の clock_gettime() 関数の時間を返します。
...す。
例:
p Process.clock_gettime(Process::CLOCK_MONOTONIC) #=> 896053.968060096
@param clock_id クロックの種類を以下の定数のいずれかで指定します。
サポートされている定数は OS やバージョンに依存します。
: Process::CLOCK_REALTIM......: Process::CLOCK_MONOTONIC_COARSE
Linux 2.6.32
: Process::CLOCK_MONOTONIC_RAW
Linux 2.6.28, macOS 10.12
: Process::CLOCK_MONOTONIC_RAW_APPROX
macOS 10.12
: Process::CLOCK_BOOTTIME
Linux 2.6.39
: Process::CLOCK_BOOTTIME_ALARM
Linux 3.0
: Process::CLOCK_UPTIME
FreeBSD 7.0, OpenBSD 5.5
: Process:......:CLOCK_UPTIME_FAST
FreeBSD 8.1
: Process::CLOCK_UPTIME_RAW
macOS 10.12
: Process::CLOCK_UPTIME_RAW_APPROX
macOS 10.12
: Process::CLOCK_UPTIME_PRECISE
FreeBSD 8.1
: Process::CLOCK_SECOND
FreeBSD 8.1
SUS は Single Unix Specification を意味しており、
SUS は POSIX と POSIX の一部で... -
NEWS for Ruby 2
. 4 . 0 (30.0) -
NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...追加 7418
* Numeric
* Numeric#finite?, Numeric#infinite? を追加 12039
* Process
* macOS 10.12 から導入された CLOCK_MONOTONIC_RAW_APPROX, CLOCK_UPTIME_RAW,
CLOCK_UPTIME_RAW_APPROX をサポートしました
* Rational
* Rational#round は half というキー......ジトリです。
* Zlib
* Zlib.gzip, Zlib.gunzip を追加 13020
=== C API の更新
* ruby_show_version() will no longer exits the process, if
RUBY_SHOW_COPYRIGHT_TO_DIE is set to 0. This will be the default in
the future.
* rb_gc_adjust_memory_usage() [Feature #12690]
===...