Sha256: 6928444d8af5ce1d14e1e5abd2869ed6f89d20d1638b6757931ddf9638d30c50

Contents?: true

Size: 258 Bytes

Versions: 45

Compression:

Stored size: 258 Bytes

Contents

module Datadog
  module Runtime
    # Retrieves garbage collection statistics
    module GC
      module_function

      def stat
        ::GC.stat
      end

      def available?
        defined?(::GC) && ::GC.respond_to?(:stat)
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
ddtrace-0.23.3 lib/ddtrace/runtime/gc.rb
ddtrace-0.23.2 lib/ddtrace/runtime/gc.rb
ddtrace-0.23.1 lib/ddtrace/runtime/gc.rb
ddtrace-0.23.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.22.0 lib/ddtrace/runtime/gc.rb