class RubyProf::CallTreePrinter

def print_method(output, method)

def print_method(output, method)
  # Print out the file and method name

  output << "fl=#{file(method)}\n"
  output << "fn=#{self.calltree_name(method)}\n"
  # Now print out the function line number and its self time

  output << "#{method.line} #{convert(method.self_time)}\n"
  # Now print out all the children methods

  method.call_trees.callees.each do |callee|
    output << "cfl=#{file(callee.target)}\n"
    output << "cfn=#{self.calltree_name(callee.target)}\n"
    output << "calls=#{callee.called} #{callee.line}\n"
    # Print out total times here!

    output << "#{callee.line} #{convert(callee.total_time)}\n"
  end
  output << "\n"
end