module Datadog::Core::Environment::GC

Retrieves garbage collection statistics

Public Instance Methods

available?() click to toggle source
# File lib/datadog/core/environment/gc.rb, line 13
def available?
  defined?(::GC) && ::GC.respond_to?(:stat)
end
stat() click to toggle source
# File lib/datadog/core/environment/gc.rb, line 9
def stat
  ::GC.stat
end