Class: MemprofilerPprof::ProfileData

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_memprofiler_pprof/profile_data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#allocation_samples_countObject

Returns the value of attribute allocation_samples_count.



5
6
7
# File 'lib/ruby_memprofiler_pprof/profile_data.rb', line 5

def allocation_samples_count
  @allocation_samples_count
end

#dropped_samples_allocation_bufsizeObject

Returns the value of attribute dropped_samples_allocation_bufsize.



5
6
7
# File 'lib/ruby_memprofiler_pprof/profile_data.rb', line 5

def dropped_samples_allocation_bufsize
  @dropped_samples_allocation_bufsize
end

#dropped_samples_heap_bufsizeObject

Returns the value of attribute dropped_samples_heap_bufsize.



5
6
7
# File 'lib/ruby_memprofiler_pprof/profile_data.rb', line 5

def dropped_samples_heap_bufsize
  @dropped_samples_heap_bufsize
end

#dropped_samples_nolockObject

Returns the value of attribute dropped_samples_nolock.



5
6
7
# File 'lib/ruby_memprofiler_pprof/profile_data.rb', line 5

def dropped_samples_nolock
  @dropped_samples_nolock
end

#heap_samples_countObject

Returns the value of attribute heap_samples_count.



5
6
7
# File 'lib/ruby_memprofiler_pprof/profile_data.rb', line 5

def heap_samples_count
  @heap_samples_count
end

#pprof_dataObject

Returns the value of attribute pprof_data.



5
6
7
# File 'lib/ruby_memprofiler_pprof/profile_data.rb', line 5

def pprof_data
  @pprof_data
end

Instance Method Details

#to_sObject



8
9
10
11
12
13
14
15
16
# File 'lib/ruby_memprofiler_pprof/profile_data.rb', line 8

def to_s
  "<MemprofilerPprof::ProfileData:#{object_id.to_s(16)} (sample counts: " +
    "allocation=#{allocation_samples_count}, " +
    "heap=#{heap_samples_count}, " +
    "dropped_nolock=#{dropped_samples_nolock}, " +
    "dropped_allocation_bufsize=#{dropped_samples_allocation_bufsize}, " +
    "dropped_heap_bufsize=#{dropped_samples_heap_bufsize}" +
    ")>"
end