Class: GCLogEntry
- Inherits:
-
Object
- Object
- GCLogEntry
- Defined in:
- lib/railsbench/gc_info.rb
Instance Attribute Summary collapse
-
#freed_objects ⇒ Object
Returns the value of attribute freed_objects.
-
#live_objects ⇒ Object
Returns the value of attribute live_objects.
Instance Method Summary collapse
-
#initialize ⇒ GCLogEntry
constructor
A new instance of GCLogEntry.
Constructor Details
#initialize ⇒ GCLogEntry
Returns a new instance of GCLogEntry.
43 44 45 46 |
# File 'lib/railsbench/gc_info.rb', line 43 def initialize @live_objects = {} @freed_objects = {} end |
Instance Attribute Details
#freed_objects ⇒ Object
Returns the value of attribute freed_objects.
42 43 44 |
# File 'lib/railsbench/gc_info.rb', line 42 def freed_objects @freed_objects end |
#live_objects ⇒ Object
Returns the value of attribute live_objects.
42 43 44 |
# File 'lib/railsbench/gc_info.rb', line 42 def live_objects @live_objects end |