A function.
More...
|
| | __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 Member Functions inherited from 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) |
| |
◆ __init__()
| pyqpanda3.profiling.gprof2dot.Function.__init__ |
( |
| self, |
|
|
| id, |
|
|
| name ) |
◆ __repr__()
| pyqpanda3.profiling.gprof2dot.Function.__repr__ |
( |
| self | ) |
|
◆ add_call()
| pyqpanda3.profiling.gprof2dot.Function.add_call |
( |
| self, |
|
|
| call ) |
◆ dump()
| 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.
◆ get_call()
| pyqpanda3.profiling.gprof2dot.Function.get_call |
( |
| self, |
|
|
| callee_id ) |
◆ stripped_name()
| pyqpanda3.profiling.gprof2dot.Function.stripped_name |
( |
| self | ) |
|
Remove extraneous information from C++ demangled function names.
◆ _angles_re
| pyqpanda3.profiling.gprof2dot.Function._angles_re = re.compile(r'<[^<>]*>') |
|
staticprotected |
◆ _const_re
| pyqpanda3.profiling.gprof2dot.Function._const_re = re.compile(r'\s+const$') |
|
staticprotected |
◆ _parenthesis_re
| pyqpanda3.profiling.gprof2dot.Function._parenthesis_re = re.compile(r'\([^()]*\)') |
|
staticprotected |
◆ called
| pyqpanda3.profiling.gprof2dot.Function.called = None |
◆ calls
| dict pyqpanda3.profiling.gprof2dot.Function.calls = {} |
◆ cycle
| pyqpanda3.profiling.gprof2dot.Function.cycle = None |
◆ filename
| pyqpanda3.profiling.gprof2dot.Function.filename = None |
◆ id
| pyqpanda3.profiling.gprof2dot.Function.id = id |
◆ module
| pyqpanda3.profiling.gprof2dot.Function.module = None |
◆ name
| pyqpanda3.profiling.gprof2dot.Function.name = name |
◆ process
| pyqpanda3.profiling.gprof2dot.Function.process = None |
◆ weight
| pyqpanda3.profiling.gprof2dot.Function.weight = None |
The documentation for this class was generated from the following file:
- pyqpanda3/profiling/gprof2dot.py