Class: QuickMem::MemoryStats
- Inherits:
-
Object
- Object
- QuickMem::MemoryStats
- Defined in:
- lib/quick_mem/memory_stats.rb
Class Method Summary collapse
Class Method Details
.show ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/quick_mem/memory_stats.rb', line 6 def self.show raw_data = GC.stat stats = {} gc_counts(stats, raw_data) heap_statistics(stats, raw_data) stats end |