QPanda3
Supported by OriginQ
载入中...
搜索中...
未找到
pyqpanda3.profiling.gprof2dot.DotWriter类 参考

Writer for the DOT language. 更多...

Public 成员函数

 __init__ (self, fp)
 
 wrap_function_name (self, name)
 Split the function name on multiple lines.
 
 graph (self, profile, theme)
 
 begin_graph (self)
 
 end_graph (self)
 
 attr (self, what, **attrs)
 
 node (self, node, **attrs)
 
 edge (self, src, dst, **attrs)
 
 attr_list (self, attrs)
 
 id (self, id)
 
 color (self, rgb)
 
 escape (self, s)
 
 write (self, s)
 

Public 属性

 fp = fp
 

静态 Public 属性

bool strip = False
 
bool wrap = False
 
list show_function_events = [TOTAL_TIME_RATIO, TIME_RATIO]
 
list show_edge_events = [TOTAL_TIME_RATIO, CALLS]
 

详细描述

Writer for the DOT language.

See also:

构造及析构函数说明

◆ __init__()

pyqpanda3.profiling.gprof2dot.DotWriter.__init__ ( self,
fp )

成员函数说明

◆ attr()

pyqpanda3.profiling.gprof2dot.DotWriter.attr ( self,
what,
** attrs )

◆ attr_list()

pyqpanda3.profiling.gprof2dot.DotWriter.attr_list ( self,
attrs )

◆ begin_graph()

pyqpanda3.profiling.gprof2dot.DotWriter.begin_graph ( self)

◆ color()

pyqpanda3.profiling.gprof2dot.DotWriter.color ( self,
rgb )

◆ edge()

pyqpanda3.profiling.gprof2dot.DotWriter.edge ( self,
src,
dst,
** attrs )

◆ end_graph()

pyqpanda3.profiling.gprof2dot.DotWriter.end_graph ( self)

◆ escape()

pyqpanda3.profiling.gprof2dot.DotWriter.escape ( self,
s )

◆ graph()

pyqpanda3.profiling.gprof2dot.DotWriter.graph ( self,
profile,
theme )

◆ id()

pyqpanda3.profiling.gprof2dot.DotWriter.id ( self,
id )

◆ node()

pyqpanda3.profiling.gprof2dot.DotWriter.node ( self,
node,
** attrs )

◆ wrap_function_name()

pyqpanda3.profiling.gprof2dot.DotWriter.wrap_function_name ( self,
name )

Split the function name on multiple lines.

◆ write()

pyqpanda3.profiling.gprof2dot.DotWriter.write ( self,
s )

类成员变量说明

◆ fp

pyqpanda3.profiling.gprof2dot.DotWriter.fp = fp

◆ show_edge_events

list pyqpanda3.profiling.gprof2dot.DotWriter.show_edge_events = [TOTAL_TIME_RATIO, CALLS]
static

◆ show_function_events

list pyqpanda3.profiling.gprof2dot.DotWriter.show_function_events = [TOTAL_TIME_RATIO, TIME_RATIO]
static

◆ strip

bool pyqpanda3.profiling.gprof2dot.DotWriter.strip = False
static

◆ wrap

bool pyqpanda3.profiling.gprof2dot.DotWriter.wrap = False
static

该类的文档由以下文件生成: