るりまサーチ

最速Rubyリファレンスマニュアル検索!
39件ヒット [1-39件を表示] (0.031秒)

別のキーワード

  1. _builtin enabled?
  2. profiler enabled?
  3. tracepoint enabled?
  4. fiddle close_enabled?
  5. handle close_enabled?

モジュール

検索結果

GC::Profiler.enabled? -> bool (24234.0)

GC のプロファイラを起動中であれば true、停止中であれば false を返します。

...プロファイラを起動中であれば true、停止中であれば false を返します。

例:
GC::Profiler.enabled? #=> false
GC::Profiler.enable
GC::Profiler.enabled? #=> true
GC::Profiler.disable
GC::Profiler.enabled? #=> false

@see GC::Profiler.enable, GC::Profiler.disable...

RubyVM::MJIT.enabled? -> bool (24204.0)

JIT が有効かどうかを返します。

JIT が有効かどうかを返します。

@see RubyVM::MJIT.pause, RubyVM::MJIT.resume

GC::Profiler.enable -> nil (18116.0)

GC のプロファイラを起動します。

...GC のプロファイラを起動します。

このメソッドを呼び出してから GC が発生すると、
GC についてプロファイル情報を取得します。

例:
GC::Profiler.enable
GC::Profiler.enabled? #=> true

@see GC::Profiler.disable, GC::Profiler.enabled?...

GC::Profiler.disable -> nil (15.0)

GC のプロファイラを停止します。

...停止します。

例:
GC::Profiler.disable
GC::Profiler.enabled? #=> false

このメソッドでは、蓄積したプロファイル情報は破棄しません。
破棄したい場合は GC::Profiler.clear を呼び出してください。

@see GC::Profiler.enable, GC::Profiler.enabled?...