Sha256: 8357d8afa2d24638ed3e5b627188671ec208ab76c8cf880a95320437b7542a83

Contents?: true

Size: 621 Bytes

Versions: 8

Compression:

Stored size: 621 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/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

8 entries across 8 versions & 1 rubygems

Version Path
newrelic_rpm-7.2.0 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-6.15.0 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-6.14.0 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-6.13.1 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-6.13.0 lib/new_relic/agent/vm/snapshot.rb
newrelic_rpm-6.12.0.367 lib/new_relic/agent/vm/snapshot.rb