44件ヒット
[1-44件を表示]
(0.028秒)
種類
- インスタンスメソッド (33)
- モジュール関数 (11)
クラス
-
Benchmark
:: Tms (22) -
Process
:: Tms (11)
モジュール
- Process (11)
キーワード
-
clock
_ gettime (11) - total (11)
検索結果
先頭4件
-
Benchmark
:: Tms # cstime -> Float (18202.0) -
子プロセスの System CPU time
子プロセスの System CPU time -
Process
:: Tms # cstime -> Float (18202.0) -
終了した子プロセスのシステム CPU 時間の合計(秒)を返します。
終了した子プロセスのシステム CPU 時間の合計(秒)を返します。
Windows 上では常に 0 を返します。 -
Process
. # clock _ gettime(clock _ id , unit=:float _ second) -> Float | Integer (250.0) -
POSIX の clock_gettime() 関数の時間を返します。
...s() を使います。
ユーザー時間 (tms_utime) と システム時間 (tms_stime) を足した結果を返します。
tms_cutime と tms_cstime は子プロセスの時間を含みません。
精度はクロック数 (clock tick) です。
「getconf CLK_TCK」コマンドで1秒あた......以上を表すことはできません。
@param unit 返値の型を指定します。
: :float_second
Float の秒 (デフォルト)
: :float_millisecond
Float のミリ秒
: :float_microsecond
Float のマイクロ秒
: :second
Integer の秒
: :millisecond
Integer のミリ秒
: :microse......cond
Integer のマイクロ秒
: :nanosecond
Integer のナノ秒
基になる関数 clock_gettime() はナノ秒を返します。
Float オブジェクト (IEEE 754 double) は CLOCK_REALTIME の結果を表すには不十分です。
正確なナノ秒が必要なら、unit に :nanosecond... -
Benchmark
:: Tms # total -> Float (117.0) -
合計時間。(utime + stime + cutime + cstime)
...合計時間。(utime + stime + cutime + cstime)...