![]() |
QPanda3
Supported by OriginQ
|
A function. 更多...
Public 成员函数 | |
| __init__ (self, id, name) | |
| add_call (self, call) | |
| get_call (self, callee_id) | |
| stripped_name (self) | |
| Remove extraneous information from C++ demangled function names. | |
| __repr__ (self) | |
| dump (self, sep1=",\n\t", sep2=":=", sep3="\n") | |
| Returns as a string all information available in this Function object separators sep1:between entries sep2:between attribute name and value, sep3: inserted at end | |
Public 成员函数 继承自 pyqpanda3.profiling.gprof2dot.Object | |
| __init__ (self, events=None) | |
| __hash__ (self) | |
| __eq__ (self, other) | |
| __lt__ (self, other) | |
| __contains__ (self, event) | |
| __getitem__ (self, event) | |
| __setitem__ (self, event, value) | |
Public 属性 | |
| id = id | |
| name = name | |
| module = None | |
| process = None | |
| dict | calls = {} |
| called = None | |
| weight = None | |
| cycle = None | |
| filename = None | |
Public 属性 继承自 pyqpanda3.profiling.gprof2dot.Object | |
| dict | events = {} |
静态 Protected 属性 | |
| _parenthesis_re = re.compile(r'\([^()]*\)') | |
| _angles_re = re.compile(r'<[^<>]*>') | |
| _const_re = re.compile(r'\s+const$') | |
A function.
| pyqpanda3.profiling.gprof2dot.Function.__init__ | ( | self, | |
| id, | |||
| name ) |
| pyqpanda3.profiling.gprof2dot.Function.__repr__ | ( | self | ) |
| pyqpanda3.profiling.gprof2dot.Function.add_call | ( | self, | |
| call ) |
| pyqpanda3.profiling.gprof2dot.Function.dump | ( | self, | |
| sep1 = ",\n\t", | |||
| sep2 = ":=", | |||
| sep3 = "\n" ) |
Returns as a string all information available in this Function object separators sep1:between entries sep2:between attribute name and value, sep3: inserted at end
| pyqpanda3.profiling.gprof2dot.Function.get_call | ( | self, | |
| callee_id ) |
| pyqpanda3.profiling.gprof2dot.Function.stripped_name | ( | self | ) |
Remove extraneous information from C++ demangled function names.
|
staticprotected |
|
staticprotected |
|
staticprotected |
| pyqpanda3.profiling.gprof2dot.Function.called = None |
| dict pyqpanda3.profiling.gprof2dot.Function.calls = {} |
| pyqpanda3.profiling.gprof2dot.Function.cycle = None |
| pyqpanda3.profiling.gprof2dot.Function.filename = None |
| pyqpanda3.profiling.gprof2dot.Function.id = id |
| pyqpanda3.profiling.gprof2dot.Function.module = None |
| pyqpanda3.profiling.gprof2dot.Function.name = name |
| pyqpanda3.profiling.gprof2dot.Function.process = None |
| pyqpanda3.profiling.gprof2dot.Function.weight = None |