Module: Memory
- Included in:
- TWINPUSH
- Defined in:
- lib/measure.rb
Overview
lazy hack from Robert Klemme
Defined Under Namespace
Classes: Analyzer, MemoryInfo
Constant Summary collapse
- REF_SIZE =
sizes are guessed, I was too lazy to look them up and then they are also platform dependent
4
- OBJ_OVERHEAD =
?
4
- FIXNUM_SIZE =
?
4
Class Method Summary collapse
Class Method Details
.analyze(*roots) ⇒ Object
16 17 18 19 20 |
# File 'lib/measure.rb', line 16 def self.analyze(*roots) an = Analyzer.new an.roots = roots an.analyze end |