11件ヒット
[1-11件を表示]
(0.254秒)
ライブラリ
- ビルトイン (2)
- benchmark (5)
-
rubygems
/ user _ interaction (4)
クラス
-
Benchmark
:: Job (2) -
Benchmark
:: Report (3) -
Gem
:: StreamUI (1) -
Gem
:: StreamUI :: VerboseProgressReporter (3) - Thread (2)
キーワード
- count (1)
- done (1)
- item (2)
- list (1)
-
progress
_ reporter (1) -
report
_ on _ exception (1) -
report
_ on _ exception= (1) - updated (1)
検索結果
先頭5件
-
Benchmark
:: Report # report(label = "" , *fmt) { . . . } -> Benchmark :: Tms (91507.0) -
ラベルと与えられたブロックの実行時間を標準出力に出力します。
ラベルと与えられたブロックの実行時間を標準出力に出力します。
出力のフォーマットは Benchmark::Tms#format が行います。
@param label ラベル
@param fmt 結果に出力したいオブジェクト
@see Benchmark::Tms#format -
Benchmark
:: Job # report(label = "") { . . . } -> self (81907.0) -
与えられたラベルとブロックをジョブリストに登録します。
与えられたラベルとブロックをジョブリストに登録します。
@param label ラベル -
Thread
# report _ on _ exception -> bool (64372.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
デフォルトはスレッド作成時の Thread.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Th... -
Thread
# report _ on _ exception=(newstate) (64072.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
デフォルトはスレッド作成時の Thread.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Th... -
Gem
:: StreamUI :: VerboseProgressReporter # count -> Integer (63904.0) -
Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。
Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。 -
Gem
:: StreamUI :: VerboseProgressReporter # done -> nil (63304.0) -
終了メッセージを表示します。
終了メッセージを表示します。 -
Gem
:: StreamUI # progress _ reporter(*args) -> SilentProgressReporter | SimpleProgressReporter | VerboseProgressReporter (57004.0) -
処理の進捗を報告するためのオブジェクトを返します。
処理の進捗を報告するためのオブジェクトを返します。
返されるオブジェクトの種類は現在の設定によります。
@param args 返値となるオブジェクトを初期化するための引数です。
@see Gem::StreamUI::SilentProgressReporter, Gem::StreamUI::SimpleProgressReporter, Gem::StreamUI::VerboseProgressReporter -
Gem
:: StreamUI :: VerboseProgressReporter # updated(message) -> nil (45304.0) -
現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。
現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。
@param message 表示するメッセージを指定します。 -
Benchmark
:: Report # item(label = "" , *fmt) { . . . } -> Benchmark :: Tms (37207.0) -
ラベルと与えられたブロックの実行時間を標準出力に出力します。
ラベルと与えられたブロックの実行時間を標準出力に出力します。
出力のフォーマットは Benchmark::Tms#format が行います。
@param label ラベル
@param fmt 結果に出力したいオブジェクト
@see Benchmark::Tms#format -
Benchmark
:: Report # list -> [Benchmark :: Tms] (36970.0) -
Benchmark::Report#item 実行時に作成された Benchmark::Tms オ ブジェクトの一覧を返します。
Benchmark::Report#item 実行時に作成された Benchmark::Tms オ
ブジェクトの一覧を返します。
@see Benchmark::Report#item -
Benchmark
:: Job # item(label = "") { . . . } -> self (27307.0) -
与えられたラベルとブロックをジョブリストに登録します。
与えられたラベルとブロックをジョブリストに登録します。
@param label ラベル