Lines Matching refs:ofile
427 def print_dot_node(self, ofile, node): argument
439 ofile.write("\t{:s} [style=filled,fontcolor={:s},fillcolor={:s},label=\"{:s}\"];\n"\
442 def print_dot_edge(self, nm, edge, ofile): argument
482 ofile.write("\t{:s} [{:s}];\n".format(nm, attrs))
484 def print_follow_graph(self, ofile, follow, visited = None): argument
485 ofile.write("digraph {:s} {{\n".format(self.name))
486 ofile.write("\tsplines=ortho;\n")
513 self.print_dot_node(ofile, v)
515 self.print_dot_edge(nm, edge, ofile)
516 ofile.write("}\n\n")
518 def print_graph(self, ofile, follow): argument
519 ofile.write("digraph {:s} {{\n".format(self.name))
520 ofile.write("\tsplines=ortho;\n")
522 self.print_dot_node(ofile, v)
524 self.print_dot_edge(nm, edge, ofile)
525 ofile.write("}\n\n")
527 def print_nodegrid(self, ofile, type='msg', dfilter=None): argument
534 … ofile.write("{} Data sent between nodes.\nRow == SOURCE; Column == DESTINATION\n".format(dfname))
536 …ofile.write("{} Messages sent between nodes.\nRow == SOURCE; Column == DESTINATION\n".format(dfnam…
540 ofile.write(' ,' + ','.join(self.nodes.keys()) + '\n')
555 ofile.write(snm + ',' + ','.join(odata) + '\n')
557 def print_datasummary(self, ofile): argument
572 ofile.write("Nodes:{:d}\nEdges:{:d}\n".format(len(self.nodes),len(self.edges)))
573 ofile.write("Total Messages,{}\nTotal Data,{}\n".format(tmsgs, tdata))
574 ofile.write("Flavor,Messages,Data,\n")
576 ofile.write("{:s},{:d},{:d}\n".format(f, self.totals['n'+f], self.totals['D'+f]))
577 ofile.write("Style,Messages,Data,\n")
579 ofile.write("{:s},{:d},{:d}\n".format(t, m[t][0], m[t][1]))
581 def print_freqdata(self, ofile, gnuplot = False): argument
591 ofile.write(ostr)
626 ofile.write(ostr)
706 new_file = re.sub(r'(.*)\.\w+$', r'\1_cdf.plot', ofile.name)
709 …ile.write(cdf_data_fmt.format(lastmsg=lastmsg, maxdata=maxdata, maxmsg=maxmsg, csvfile=ofile.name))
713 new_file = re.sub(r'(.*)\.\w+$', r'\1_dcdf.plot', ofile.name)
716 …le.write(dcdf_data_fmt.format(lastmsg=lastmsg, maxdata=maxdata, maxmsg=maxmsg, csvfile=ofile.name))
720 new_file = re.sub(r'(.*)\.\w+$', r'\1_hist.plot', ofile.name)
723 …le.write(freq_data_fmt.format(lastmsg=lastmsg, maxdata=maxdata, maxmsg=maxmsg, csvfile=ofile.name))