module Remnant::GC::Ree::ClassMethods

Public Instance Methods

clear_stats() click to toggle source
# File lib/remnant/gc/ree.rb, line 26
def clear_stats
  ::GC.clear_stats
end
collections() click to toggle source
# File lib/remnant/gc/ree.rb, line 14
def collections
  ::GC.collections
end
disable_stats() click to toggle source
# File lib/remnant/gc/ree.rb, line 22
def disable_stats
  ::GC.disable_stats
end
enable_stats() click to toggle source
# File lib/remnant/gc/ree.rb, line 18
def enable_stats
  ::GC.enable_stats
end
enabled?() click to toggle source
# File lib/remnant/gc/ree.rb, line 5
def enabled?
  true
end
time() click to toggle source
# File lib/remnant/gc/ree.rb, line 9
def time
  # returns time in microseconds so convert to ms
  ::GC.time / 1000
end