# File lib/ruby-prof/printers/call_stack_printer.rb, line 124 def graph_link(call_info) total_calls = call_info.target.call_infos.inject(0){|t, ci| t += ci.called} href = "#{@graph_html}##{method_href(call_info.target)}" totals = @graph_html ? "<a href='#{href}'>#{total_calls}</a>" : total_calls.to_s "[#{call_info.called} calls, #{totals} total]" end