Method: Memory::Sampler#start
- Defined in:
- lib/memory/sampler.rb
#start ⇒ Object
83 84 85 86 87 88 89 |
# File 'lib/memory/sampler.rb', line 83 def start GC.disable GC.start @generation = GC.count ObjectSpace.trace_object_allocations_start end |