Sha256: 27b3f704f85c037ece7194d13340e0641edaf920549177437308e109d5aecd1c

Contents?: true

Size: 570 Bytes

Versions: 1

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

module MemprofilerPprof
  class ProfileData
    attr_accessor :pprof_data, :heap_samples_count, :dropped_samples_heap_bufsize,
      :flush_duration_nsecs, :pprof_serialization_nsecs, :sample_add_nsecs,
      :sample_add_without_gvl_nsecs,
      :gvl_proactive_yield_count, :gvl_proactive_check_yield_count,

    def to_s
      "<MemprofilerPprof::ProfileData:#{object_id.to_s(16)} (sample counts: " \
        "heap=#{heap_samples_count}, " \
        "dropped_heap_bufsize=#{dropped_samples_heap_bufsize}" \
        ")>"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_memprofiler_pprof-0.0.4 lib/ruby_memprofiler_pprof/profile_data.rb