QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.profiling.gprof2dot.SleepyParser Class Reference

Parser for GNU gprof output. More...

Inheritance diagram for pyqpanda3.profiling.gprof2dot.SleepyParser:

Public Member Functions

 __init__ (self, filename)
 
 openEntry (self, name)
 
 parse_symbols (self)
 
 parse_callstacks (self)
 
 parse (self)
 
- Public Member Functions inherited from pyqpanda3.profiling.gprof2dot.Parser

Public Attributes

 database = ZipFile(filename)
 
dict symbols = {}
 
dict calls = {}
 
 profile = Profile()
 

Static Public Attributes

bool stdinInput = False
 
- Static Public Attributes inherited from pyqpanda3.profiling.gprof2dot.Parser
bool stdinInput = True
 
bool multipleInput = False
 

Static Protected Attributes

 _symbol_re
 

Detailed Description

Constructor & Destructor Documentation

◆ __init__()

pyqpanda3.profiling.gprof2dot.SleepyParser.__init__ ( self,
filename )

Member Function Documentation

◆ openEntry()

pyqpanda3.profiling.gprof2dot.SleepyParser.openEntry ( self,
name )

◆ parse()

pyqpanda3.profiling.gprof2dot.SleepyParser.parse ( self)

◆ parse_callstacks()

pyqpanda3.profiling.gprof2dot.SleepyParser.parse_callstacks ( self)

◆ parse_symbols()

pyqpanda3.profiling.gprof2dot.SleepyParser.parse_symbols ( self)

Member Data Documentation

◆ _symbol_re

pyqpanda3.profiling.gprof2dot.SleepyParser._symbol_re
staticprotected
Initial value:
= re.compile(
r'^(?P<id>\w+)' +
r'\s+"(?P<module>[^"]*)"' +
r'\s+"(?P<procname>[^"]*)"' +
r'\s+"(?P<sourcefile>[^"]*)"' +
r'\s+(?P<sourceline>\d+)$'
)

◆ calls

dict pyqpanda3.profiling.gprof2dot.SleepyParser.calls = {}

◆ database

pyqpanda3.profiling.gprof2dot.SleepyParser.database = ZipFile(filename)

◆ profile

pyqpanda3.profiling.gprof2dot.SleepyParser.profile = Profile()

◆ stdinInput

bool pyqpanda3.profiling.gprof2dot.SleepyParser.stdinInput = False
static

◆ symbols

dict pyqpanda3.profiling.gprof2dot.SleepyParser.symbols = {}

The documentation for this class was generated from the following file: