code: func printFunctionHeader(w io.Writer, name, path string, flatSum, cumSum int64, rpt *Report) {
  	fmt.Fprintf(w, `<h1>%s</h1>%s
  <pre onClick="pprof_toggle_asm()">
    Total:  %10s %10s (flat, cum) %s
  `,
  		template.HTMLEscapeString(name), template.HTMLEscapeString(path),
  		rpt.formatValue(flatSum), rpt.formatValue(cumSum),
  		percentage(cumSum, rpt.total))
  }
docs: // printFunctionHeader prints a function header for a weblist report.