class Test::Unit::Util::MemoryUsage

Attributes

physical[R]
virtual[R]

Public Class Methods

new() click to toggle source
# File test-unit-3.5.3/lib/test/unit/util/memory-usage.rb, line 7
def initialize
  @virtual = nil
  @physical = nil
  collect_data
end

Public Instance Methods

collected?() click to toggle source
# File test-unit-3.5.3/lib/test/unit/util/memory-usage.rb, line 13
def collected?
  return false if @virtual.nil?
  return false if @physical.nil?
  true
end