module Datadog::Runtime::GC

Retrieves garbage collection statistics

Public Instance Methods

available?() click to toggle source
# File lib/ddtrace/runtime/gc.rb, line 11
def available?
  defined?(::GC) && ::GC.respond_to?(:stat)
end
stat() click to toggle source
# File lib/ddtrace/runtime/gc.rb, line 7
def stat
  ::GC.stat
end