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

Parser python profiling statistics saved with te pstats module. More...

Public Member Functions

 __init__ (self, *filename)
 
 get_function_name (self, key)
 
 get_function (self, key)
 
 parse (self)
 

Public Attributes

 stats = pstats.Stats(*filename)
 
 profile = Profile()
 
dict function_ids = {}
 

Static Public Attributes

bool stdinInput = False
 
bool multipleInput = True
 

Detailed Description

Parser python profiling statistics saved with te pstats module.

Constructor & Destructor Documentation

◆ __init__()

pyqpanda3.profiling.gprof2dot.PstatsParser.__init__ ( self,
* filename )

Member Function Documentation

◆ get_function()

pyqpanda3.profiling.gprof2dot.PstatsParser.get_function ( self,
key )

◆ get_function_name()

pyqpanda3.profiling.gprof2dot.PstatsParser.get_function_name ( self,
key )

◆ parse()

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

Member Data Documentation

◆ function_ids

dict pyqpanda3.profiling.gprof2dot.PstatsParser.function_ids = {}

◆ multipleInput

bool pyqpanda3.profiling.gprof2dot.PstatsParser.multipleInput = True
static

◆ profile

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

◆ stats

pyqpanda3.profiling.gprof2dot.PstatsParser.stats = pstats.Stats(*filename)

◆ stdinInput

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

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