lib/new_relic/agent/vm/snapshot.rb in newrelic_rpm-3.7.3.204 vs lib/new_relic/agent/vm/snapshot.rb in newrelic_rpm-3.8.0.218

- old
+ new

@@ -7,10 +7,14 @@ module VM class Snapshot attr_accessor :gc_total_time, :gc_runs, :major_gc_count, :minor_gc_count, :total_allocated_object, :heap_live, :heap_free, :method_cache_invalidations, :constant_cache_invalidations, - :thread_count + :thread_count, :taken_at + + def initialize + @taken_at = Time.now.to_f + end end end end end