るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.244秒)
トップページ > クエリ:_builtin[x] > クエリ:stime[x] > 種類:モジュール関数[x]

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

ライブラリ

モジュール

検索結果

Process.#clock_gettime(clock_id, unit=:float_second) -> Float | Integer (8013.0)

POSIX の clock_gettime() 関数の時間を返します。

...) とシステム時間 (ru_stime) を足した結果を返します。
精度は1マイクロ秒です。
: :TIMES_BASED_CLOCK_PROCESS_CPUTIME_ID
POSIX で定義されている times() を使います。
ユーザー時間 (tms_utime) と システム時間 (tms_stime) を足した結果を返...
...します。
tms_cutime と tms_cstime は子プロセスの時間を含みません。
精度はクロック数 (clock tick) です。
「getconf CLK_TCK」コマンドで1秒あたりのクロック数を表示できます。
(古いシステムでは、1秒あたりのクロック数は HZ...