Module: Datadog::Runtime::GC
- Defined in:
- lib/ddtrace/runtime/gc.rb
Overview
Retrieves garbage collection statistics
Class Method Summary collapse
Class Method Details
.available? ⇒ Boolean
11 12 13 |
# File 'lib/ddtrace/runtime/gc.rb', line 11 def available? defined?(::GC) && ::GC.respond_to?(:stat) end |
.stat ⇒ Object
7 8 9 |
# File 'lib/ddtrace/runtime/gc.rb', line 7 def stat ::GC.stat end |