Sha256: 129a7fa4f7a5e3f7e848bfc427de5681e6f681ef576a3f3ad2e78ca013bda240

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

class Remnant
  class GC
    class Ree
      module ClassMethods
        def time
          # returns time in microseconds so convert to ms
          ::GC.time / 1000
        end

        def collections
          ::GC.collections
        end

        def enable_stats
          ::GC.enable_stats
        end

        def disable_stats
          ::GC.disable_stats
        end

        def clear_stats
          ::GC.clear_stats
        end
      end
      extend ClassMethods
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
remnant-0.4.0 lib/remnant/gc/ree.rb