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.50.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.49.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.48.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.47.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.46.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.45.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.44.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.43.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.42.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.41.0 lib/ddtrace/runtime/gc.rb
ls-trace-0.2.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.40.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.39.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.38.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.37.0 lib/ddtrace/runtime/gc.rb
ddtrace-0.36.0 lib/ddtrace/runtime/gc.rb
ls-trace-0.1.2 lib/ddtrace/runtime/gc.rb
ddtrace-0.35.2 lib/ddtrace/runtime/gc.rb
ddtrace-0.35.1 lib/ddtrace/runtime/gc.rb
ddtrace-0.35.0 lib/ddtrace/runtime/gc.rb