|
Panda3D
|
Public Member Functions | |
| __init__ (self, name, func=None, logAfterProfile=False) | |
| acquire (self) | |
| aggregate (self, other) | |
| getAggregate (self) | |
| getDuration (self) | |
| getFunc (self) | |
| getLines (self) | |
| getLogAfterProfile (self) | |
| getName (self) | |
| getReference (self) | |
| getResults (self, lines=Default, sorts=Default, callInfo=Default, totalTime=Default) | |
| getShowCallInfo (self) | |
| getSorts (self) | |
| getTotalTime (self) | |
| profileSucceeded (self) | |
| release (self) | |
| resetTotalTime (self) | |
| run (self) | |
| setAggregate (self, aggregate) | |
| setFunc (self, func) | |
| setLines (self, lines) | |
| setLogAfterProfile (self, logAfterProfile) | |
| setName (self, name) | |
| setShowCallInfo (self, showCallInfo) | |
| setSorts (self, sorts) | |
| setTotalTime (self, totalTime=None) | |
Static Public Attributes | |
| notify = directNotify.newCategory("ProfileSession") | |
| TrueClock = TrueClock.getGlobalPtr() | |
Protected Member Functions | |
| _compileStats (self) | |
| _destroy (self) | |
| _discardRamFile (self, filename) | |
| _getNextFilename (self) | |
| _reset (self) | |
| _restoreRamFile (self, filename) | |
Protected Attributes | |
| bool | _aggregate = False |
| bool | _callInfo = True |
| int | _duration = None |
| dict | _filename2ramFile = {} |
| str | _filenameBase = 'profileData-%s-%s' % (self._name, id(self)) |
| int | _filenameCounter = 0 |
| list | _filenames = [] |
| _func = func | |
| int | _lines = 500 |
| _logAfterProfile = logAfterProfile | |
| _name = name | |
| int | _refCount = 0 |
| dict | _resultCache = {} |
| _showCallInfo = showCallInfo | |
| list | _sorts = ['cumulative', 'time', 'calls'] |
| int | _statFileCounter = 0 |
| _stats = None | |
| int | _successfulProfiles = 0 |
| _totalTime = None | |
| __init__ | ( | self, | |
| name, | |||
| func = None, | |||
| logAfterProfile = False ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| acquire | ( | self | ) |
| aggregate | ( | self, | |
| other ) |
| getAggregate | ( | self | ) |
| getDuration | ( | self | ) |
| getFunc | ( | self | ) |
| getLines | ( | self | ) |
| getLogAfterProfile | ( | self | ) |
| getName | ( | self | ) |
| getReference | ( | self | ) |
| getResults | ( | self, | |
| lines = Default, | |||
| sorts = Default, | |||
| callInfo = Default, | |||
| totalTime = Default ) |
| getShowCallInfo | ( | self | ) |
| getSorts | ( | self | ) |
| getTotalTime | ( | self | ) |
| profileSucceeded | ( | self | ) |
| release | ( | self | ) |
| resetTotalTime | ( | self | ) |
| run | ( | self | ) |
| setAggregate | ( | self, | |
| aggregate ) |
| setFunc | ( | self, | |
| func ) |
| setLines | ( | self, | |
| lines ) |
| setLogAfterProfile | ( | self, | |
| logAfterProfile ) |
| setName | ( | self, | |
| name ) |
| setShowCallInfo | ( | self, | |
| showCallInfo ) |
| setSorts | ( | self, | |
| sorts ) |
| setTotalTime | ( | self, | |
| totalTime = None ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |