class RubyProf::GraphPrinter

def print_parents(thread, method)

def print_parents(thread, method)
  method.call_trees.callers.sort_by(&:total_time).each do |caller|
    @output << " " * 2 * PERCENTAGE_WIDTH
    @output << sprintf("%#{TIME_WIDTH}.3f", caller.total_time)
    @output << sprintf("%#{TIME_WIDTH}.3f", caller.self_time)
    @output << sprintf("%#{TIME_WIDTH}.3f", caller.wait_time)
    @output << sprintf("%#{TIME_WIDTH}.3f", caller.children_time)
    call_called = "#{caller.called}/#{method.called}"
    @output << sprintf("%#{CALL_WIDTH}s", call_called)
    @output << sprintf("     %s", caller.parent.target.full_name)
    @output << "\n"
  end
end