るりまサーチ

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

別のキーワード

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

ライブラリ

クラス

モジュール

キーワード

検索結果

GC::Profiler.enabled? -> bool (18120.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 (18102.0)

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

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

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

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

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

...停止します。

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

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

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

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

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

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

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

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

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

TracePoint.trace(*events) {|obj| ... } -> TracePoint (7.0)

新しい TracePoint オブジェクトを作成して自動的にトレースを開始し ます。TracePoint.new のコンビニエンスメソッドです。

...
TracePoint.new を参照してください。

//emlist[例][ruby]{
trace = TracePoint.trace(:call) { |tp| [tp.lineno, tp.event] }
# => #<TracePoint:0x007f786a452448>

trace.enabled? # => true
//}

@raise ThreadError ブロックを指定しなかった場合に発生します。...

絞り込み条件を変える