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

Parser for java hprof output. More...

Inheritance diagram for pyqpanda3.profiling.gprof2dot.HProfParser:

Public Member Functions

 __init__ (self, infile)
 
 parse (self)
 
 parse_traces (self)
 
 parse_trace (self)
 
 parse_samples (self)
 
- Public Member Functions inherited from pyqpanda3.profiling.gprof2dot.LineParser
 readline (self)
 
 lookahead (self)
 
 consume (self)
 
 eof (self)
 
- Public Member Functions inherited from pyqpanda3.profiling.gprof2dot.Parser

Public Attributes

dict traces = {}
 
dict samples = {}
 
continue samples = self.samples[id][0]
 
- Public Attributes inherited from pyqpanda3.profiling.gprof2dot.LineParser
int line_no = 0
 

Static Public Attributes

 trace_re = re.compile(r'\t(.*)\‍((.*):(.*)\‍)')
 
 trace_id_re = re.compile(r'^TRACE (\d+):$')
 
- Static Public Attributes inherited from pyqpanda3.profiling.gprof2dot.LineParser
 XML_ELEMENT_START
 
 XML_ELEMENT_END
 
 XML_CHARACTER_DATA
 
 XML_EOF
 
- Static Public Attributes inherited from pyqpanda3.profiling.gprof2dot.Parser
bool stdinInput = True
 
bool multipleInput = False
 

Additional Inherited Members

- Protected Attributes inherited from pyqpanda3.profiling.gprof2dot.LineParser
 _stream = stream
 

Detailed Description

Constructor & Destructor Documentation

◆ __init__()

pyqpanda3.profiling.gprof2dot.HProfParser.__init__ ( self,
infile )

Member Function Documentation

◆ parse()

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

◆ parse_samples()

pyqpanda3.profiling.gprof2dot.HProfParser.parse_samples ( self)

◆ parse_trace()

pyqpanda3.profiling.gprof2dot.HProfParser.parse_trace ( self)

◆ parse_traces()

pyqpanda3.profiling.gprof2dot.HProfParser.parse_traces ( self)

Member Data Documentation

◆ samples [1/2]

dict pyqpanda3.profiling.gprof2dot.HProfParser.samples = {}

◆ samples [2/2]

continue pyqpanda3.profiling.gprof2dot.HProfParser.samples = self.samples[id][0]

◆ trace_id_re

pyqpanda3.profiling.gprof2dot.HProfParser.trace_id_re = re.compile(r'^TRACE (\d+):$')
static

◆ trace_re

pyqpanda3.profiling.gprof2dot.HProfParser.trace_re = re.compile(r'\t(.*)\‍((.*):(.*)\‍)')
static

◆ traces

dict pyqpanda3.profiling.gprof2dot.HProfParser.traces = {}

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