Sha256: b81300ec68b2edf4dd543587590764777076d7a85707a4ccf56b297ec32bc214

Contents?: true

Size: 607 Bytes

Versions: 68

Compression:

Stored size: 607 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

module NewRelic
  module Agent
    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, :taken_at

        def initialize
          @taken_at = Time.now.to_f
        end
      end
    end
  end
end

Version data entries

68 entries across 68 versions & 2 rubygems

Version Path
newrelic_rpm-3.9.5.251 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-3.9.4.245 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-3.9.3.241 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-3.9.2.239 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-3.9.1.236 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-3.9.0.229 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-3.8.1.221 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-3.8.0.218 lib/new_relic/agent/vm/snapshot.rb