Class: NewRelic::Agent::VM::Snapshot
- Inherits:
-
Object
- Object
- NewRelic::Agent::VM::Snapshot
- Defined in:
- lib/new_relic/agent/vm/snapshot.rb
Instance Attribute Summary collapse
- #constant_cache_invalidations ⇒ Object
- #constant_cache_misses ⇒ Object
- #gc_runs ⇒ Object
- #gc_total_time ⇒ Object
- #heap_free ⇒ Object
- #heap_live ⇒ Object
- #major_gc_count ⇒ Object
- #method_cache_invalidations ⇒ Object
- #minor_gc_count ⇒ Object
- #taken_at ⇒ Object
- #thread_count ⇒ Object
- #total_allocated_object ⇒ Object
Instance Method Summary collapse
-
#initialize ⇒ Snapshot
constructor
A new instance of Snapshot.
Constructor Details
#initialize ⇒ Snapshot
Returns a new instance of Snapshot.
14 15 16 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 14 def initialize @taken_at = Process.clock_gettime(Process::CLOCK_REALTIME) end |
Instance Attribute Details
#constant_cache_invalidations ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def constant_cache_invalidations @constant_cache_invalidations end |
#constant_cache_misses ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def constant_cache_misses @constant_cache_misses end |
#gc_runs ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def gc_runs @gc_runs end |
#gc_total_time ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def gc_total_time @gc_total_time end |
#heap_free ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def heap_free @heap_free end |
#heap_live ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def heap_live @heap_live end |
#major_gc_count ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def major_gc_count @major_gc_count end |
#method_cache_invalidations ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def method_cache_invalidations @method_cache_invalidations end |
#minor_gc_count ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def minor_gc_count @minor_gc_count end |
#taken_at ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def taken_at @taken_at end |
#thread_count ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def thread_count @thread_count end |
#total_allocated_object ⇒ Object
9 10 11 |
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9 def total_allocated_object @total_allocated_object end |