Class: OneApm::Support::VM::Snapshot
- Inherits:
-
Object
- Object
- OneApm::Support::VM::Snapshot
- Defined in:
- lib/one_apm/support/vm/snapshot.rb
Instance Attribute Summary collapse
-
#constant_cache_invalidations ⇒ Object
Returns the value of attribute constant_cache_invalidations.
-
#gc_runs ⇒ Object
Returns the value of attribute gc_runs.
-
#gc_total_time ⇒ Object
Returns the value of attribute gc_total_time.
-
#heap_free ⇒ Object
Returns the value of attribute heap_free.
-
#heap_live ⇒ Object
Returns the value of attribute heap_live.
-
#major_gc_count ⇒ Object
Returns the value of attribute major_gc_count.
-
#method_cache_invalidations ⇒ Object
Returns the value of attribute method_cache_invalidations.
-
#minor_gc_count ⇒ Object
Returns the value of attribute minor_gc_count.
-
#taken_at ⇒ Object
Returns the value of attribute taken_at.
-
#thread_count ⇒ Object
Returns the value of attribute thread_count.
-
#total_allocated_object ⇒ Object
Returns the value of attribute total_allocated_object.
Instance Method Summary collapse
-
#initialize ⇒ Snapshot
constructor
A new instance of Snapshot.
Constructor Details
#initialize ⇒ Snapshot
Returns a new instance of Snapshot.
12 13 14 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 12 def initialize @taken_at = Time.now.to_f end |
Instance Attribute Details
#constant_cache_invalidations ⇒ Object
Returns the value of attribute constant_cache_invalidations.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def constant_cache_invalidations @constant_cache_invalidations end |
#gc_runs ⇒ Object
Returns the value of attribute gc_runs.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def gc_runs @gc_runs end |
#gc_total_time ⇒ Object
Returns the value of attribute gc_total_time.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def gc_total_time @gc_total_time end |
#heap_free ⇒ Object
Returns the value of attribute heap_free.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def heap_free @heap_free end |
#heap_live ⇒ Object
Returns the value of attribute heap_live.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def heap_live @heap_live end |
#major_gc_count ⇒ Object
Returns the value of attribute major_gc_count.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def major_gc_count @major_gc_count end |
#method_cache_invalidations ⇒ Object
Returns the value of attribute method_cache_invalidations.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def method_cache_invalidations @method_cache_invalidations end |
#minor_gc_count ⇒ Object
Returns the value of attribute minor_gc_count.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def minor_gc_count @minor_gc_count end |
#taken_at ⇒ Object
Returns the value of attribute taken_at.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def taken_at @taken_at end |
#thread_count ⇒ Object
Returns the value of attribute thread_count.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def thread_count @thread_count end |
#total_allocated_object ⇒ Object
Returns the value of attribute total_allocated_object.
7 8 9 |
# File 'lib/one_apm/support/vm/snapshot.rb', line 7 def total_allocated_object @total_allocated_object end |