Lines Matching +full:write +full:- +full:output
3 """Transform gprof(1) output into useful HTML."""
14 <title>gprof output (%s)</title>
27 with open(filename, encoding="utf-8") as fp:
31 def gprof2html(input, output, filename): argument
32 output.write(header % filename)
34 output.write(line)
41 output.write(line)
45 output.write('%s<a name="flat:%s" href="#call:%s">%s</a>\n' %
48 output.write(line)
54 output.write(line)
60 output.write(line)
63 output.write('%s<a name="call:%s" href="#flat:%s">%s</a>%s\n' %
66 output.write('%s<a href="#call:%s">%s</a>%s\n' %
72 output.write(part)
73 output.write(trailer)
82 with open(outputfilename, "w", encoding="utf-8") as output:
83 gprof2html(input, output, filename)