るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.032秒)
トップページ > クエリ:object[x] > クエリ:nil[x] > モジュール:GC::Profiler[x]

別のキーワード

  1. objectspace each_object
  2. _builtin each_object
  3. object send
  4. object to_enum
  5. object enum_for

ライブラリ

検索結果

GC::Profiler.report(out = $stdout) -> nil (108.0)

GC::Profiler.result の結果を out に出力します。

...
GC::Profiler
.result の結果を out に出力します。

@param out 結果の出力先を指定します。デフォルトは $stdout です。

//emlist[例][ruby]{
GC::Profiler
.enable
GC.start
GC::Profiler
.report

# => GC 4 invokes.
# Index Invoke Time(sec) Use Size(byte) Total Si...
...ze(byte) Total Object GC Time(ms)
# 1 0.019 303720 1269840 31746 1.25899999999999967493
//}

@see GC::Profiler.result...