Class: OneApm::Support::VM::Snapshot

Inherits:
Object
  • Object
show all
Defined in:
lib/one_apm/support/vm/snapshot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSnapshot

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_invalidationsObject

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_runsObject

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_timeObject

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_freeObject

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_liveObject

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_countObject

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_invalidationsObject

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_countObject

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_atObject

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_countObject

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_objectObject

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