121件ヒット
[1-100件を表示]
(0.054秒)
種類
- インスタンスメソッド (66)
- モジュール関数 (22)
- 定数 (22)
- 特異メソッド (11)
クラス
-
Benchmark
:: Tms (66) -
Process
:: Tms (22)
検索結果
先頭5件
-
Benchmark
:: Tms # stime -> Float (18201.0) -
System CPU time
System CPU time -
Process
:: Tms # stime -> Float (18201.0) -
システム CPU 時間を返します。
システム CPU 時間を返します。 -
Benchmark
:: Tms # cstime -> Float (6200.0) -
子プロセスの System CPU time
子プロセスの System CPU time -
Process
:: Tms # cstime -> Float (6200.0) -
終了した子プロセスのシステム CPU 時間の合計(秒)を返します。
終了した子プロセスのシステム CPU 時間の合計(秒)を返します。
Windows 上では常に 0 を返します。 -
Benchmark
:: Tms . new(utime = 0 . 0 , stime = 0 . 0 , cutime = 0 . 0 , cstime = 0 . 0 , real = 0 . 0 , label = nil) -> Benchmark :: Tms (307.0) -
新しい Benchmark::Tms オブジェクトを生成して返します。
...新しい Benchmark::Tms オブジェクトを生成して返します。
@param utime User CPU time
@param stime System CPU time
@param cutime 子プロセスの User CPU time
@param cstime 子プロセスの System CPU time
@param real 実経過時間
@param label ラベル... -
Process
. # clock _ gettime(clock _ id , unit=:float _ second) -> Float | Integer (124.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......えば、システムの起動時刻、プロセス起動時刻、エポックなどです。
CLOCK_REALTIME のオリジンはエポック (1970-01-01 00:00:00 UTC) と定義されています。
しかし、システムによってうるう秒をカウントするかどうかが異なります。... -
Benchmark
:: Tms # total -> Float (116.0) -
合計時間。(utime + stime + cutime + cstime)
...合計時間。(utime + stime + cutime + cstime)... -
Benchmark
. # benchmark(caption = "" , label _ width = nil , fmtstr = nil , *labels) {|rep| . . . } -> [Benchmark :: Tms] (106.0) -
Benchmark::Report オブジェクトを生成し、それを引数として与えられたブロックを実行します。
...れます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime
: %U
子プロセスの user CPU time で置き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます。Benchmark::Tms#cstime
: %t
total CPU time で置き換えられます。Be... -
Benchmark
:: FORMAT -> String (106.0) -
Benchmark.#benchmark の第三引数のデフォルト値。
...れます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime
: %U
子プロセスの user CPU time で置き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます。Benchmark::Tms#cstime
: %t
total CPU time で置き換えられます。Be... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (106.0) -
self を指定されたフォーマットで整形して返します。
...れます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime
: %U
子プロセスの user CPU time で置き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます。Benchmark::Tms#cstime
: %t
total CPU time で置き換えられます。Be...