Parser for the output of stackcollapse.
More...
◆ __init__()
pyqpanda3.profiling.gprof2dot.CollapseParser.__init__ |
( |
| self, |
|
|
| infile ) |
◆ _make_function()
pyqpanda3.profiling.gprof2dot.CollapseParser._make_function |
( |
| self, |
|
|
| call ) |
|
protected |
turn a call str into a Function
takes a call site, as found between semicolons in the input, and returns a Function definition corresponding to that call site.
◆ parse()
pyqpanda3.profiling.gprof2dot.CollapseParser.parse |
( |
| self | ) |
|
◆ parse_event()
pyqpanda3.profiling.gprof2dot.CollapseParser.parse_event |
( |
| self | ) |
|
◆ call_re
pyqpanda3.profiling.gprof2dot.CollapseParser.call_re = re.compile(r'^(?P<func>[^ ]+) \((?P<file>.*):(?P<line>[0-9]+)\)$') |
|
static |
◆ profile
pyqpanda3.profiling.gprof2dot.CollapseParser.profile = Profile() |
The documentation for this class was generated from the following file:
- pyqpanda3/profiling/gprof2dot.py