Sha256: a450923a61dd6468af90bb0451509fe822fe89fb994c709cd20f597e84a132b2

Contents?: true

Size: 574 Bytes

Versions: 1

Compression:

Stored size: 574 Bytes

Contents

require "mkmf"

if RUBY_VERSION >= "1.9"
  if RUBY_RELEASE_DATE < "2005-03-17"
    STDERR.print("Ruby version is too old\n")
    exit(1)
  end
elsif RUBY_VERSION >= "1.8"
  if RUBY_RELEASE_DATE < "2005-03-22"
    STDERR.print("Ruby version is too old\n")
    exit(1)
  end
else
  STDERR.print("Ruby version is too old\n")
  exit(1)
end

have_header("sys/times.h")
have_func("rb_os_allocated_objects")
have_func("rb_gc_allocated_size")
have_func("rb_gc_malloc_allocations")
have_func("rb_gc_malloc_allocated_size")
have_func("rb_heap_total_mem")
create_makefile("ruby_prof")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jeremy-ruby-prof-0.6.1 ext/extconf.rb