Module: Fog::Storage::Softlayer::Memory

Defined in:
lib/fog/softlayer/storage.rb

Overview

Thanks to @camertron! gist.github.com/camertron/2939093

Defined Under Namespace

Classes: Analyzer, MemoryInfo

Constant Summary collapse

REF_SIZE =

sizes are a guess, close enough for Mocks

4
OBJ_OVERHEAD =

?

4
FIXNUM_SIZE =

?

4

Class Method Summary collapse

Class Method Details

.analyze(*roots) ⇒ Object



235
236
237
238
239
# File 'lib/fog/softlayer/storage.rb', line 235

def self.analyze(*roots)
  an = Analyzer.new
  an.roots = roots
  an.analyze
end