Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > benchmarkライブラリ > Benchmark::Tmsクラス > new

singleton method Benchmark::Tms.new

new(utime = 0.0, stime = 0.0, cutime = 0.0, cstime = 0.0, real = 0.0, label = nil) -> 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:
ラベル
class Benchmark::Tms