Class: NewRelic::Agent::VM::Snapshot

Inherits:
Object
  • Object
show all
Defined in:
lib/new_relic/agent/vm/snapshot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSnapshot

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_invalidationsObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def constant_cache_invalidations
  @constant_cache_invalidations
end

#constant_cache_missesObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def constant_cache_misses
  @constant_cache_misses
end

#gc_runsObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def gc_runs
  @gc_runs
end

#gc_total_timeObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def gc_total_time
  @gc_total_time
end

#heap_freeObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def heap_free
  @heap_free
end

#heap_liveObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def heap_live
  @heap_live
end

#major_gc_countObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def major_gc_count
  @major_gc_count
end

#method_cache_invalidationsObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def method_cache_invalidations
  @method_cache_invalidations
end

#minor_gc_countObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def minor_gc_count
  @minor_gc_count
end

#taken_atObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def taken_at
  @taken_at
end

#thread_countObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def thread_count
  @thread_count
end

#total_allocated_objectObject



9
10
11
# File 'lib/new_relic/agent/vm/snapshot.rb', line 9

def total_allocated_object
  @total_allocated_object
end