# File lib/ruby-prof/method_info.rb, line 113 def dump res = "" res << "MINFO: #{klass_name}##{method_name} total_time: #{total_time} (#{full_name})\n" call_infos.each do |ci| pinfo = ci.root? ? "TOPLEVEL" : (p=ci.parent.target; "#{p.klass_name}##{p.method_name} (#{ci.parent.object_id}) (#{p.full_name})") res << "CINFO[#{ci.object_id}] called #{ci.called} times from #{pinfo}\n" end res end