Sha256: 3a426151f8a28d5487fdc5f2e76140348109fb874e88002a8f25a0c06380f7a6

Contents?: true

Size: 467 Bytes

Versions: 42

Compression:

Stored size: 467 Bytes

Contents

# encoding: utf-8

module OneApm
  module Support
    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

42 entries across 42 versions & 1 rubygems

Version Path
oneapm_rpm-1.1.1 lib/one_apm/support/vm/snapshot.rb
oneapm_rpm-1.1.0 lib/one_apm/support/vm/snapshot.rb