Panda3D
Public Member Functions | Static Public Attributes | List of all members
ProfileSession Class Reference

Public Member Functions

def __init__ (self, name, func=None, logAfterProfile=False)
 
def acquire (self)
 
def aggregate (self, other)
 
def getAggregate (self)
 
def getDuration (self)
 
def getFunc (self)
 
def getLines (self)
 
def getLogAfterProfile (self)
 
def getName (self)
 
def getReference (self)
 
def getResults (self, lines=Default, sorts=Default, callInfo=Default, totalTime=Default)
 
def getShowCallInfo (self)
 
def getSorts (self)
 
def getTotalTime (self)
 
def profileSucceeded (self)
 
def release (self)
 
def resetTotalTime (self)
 
def run (self)
 
def setAggregate (self, aggregate)
 
def setFunc (self, func)
 
def setLines (self, lines)
 
def setLogAfterProfile (self, logAfterProfile)
 
def setName (self, name)
 
def setShowCallInfo (self, showCallInfo)
 
def setSorts (self, sorts)
 
def setTotalTime (self, totalTime=None)
 

Static Public Attributes

 notify = directNotify.newCategory("ProfileSession")
 
 TrueClock = TrueClock.getGlobalPtr()
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  func = None,
  logAfterProfile = False 
)

Member Function Documentation

◆ acquire()

def acquire (   self)

◆ aggregate()

def aggregate (   self,
  other 
)

◆ getAggregate()

def getAggregate (   self)

◆ getDuration()

def getDuration (   self)

◆ getFunc()

def getFunc (   self)

◆ getLines()

def getLines (   self)

◆ getLogAfterProfile()

def getLogAfterProfile (   self)

◆ getName()

def getName (   self)

◆ getReference()

def getReference (   self)

◆ getResults()

def getResults (   self,
  lines = Default,
  sorts = Default,
  callInfo = Default,
  totalTime = Default 
)

◆ getShowCallInfo()

def getShowCallInfo (   self)

◆ getSorts()

def getSorts (   self)

◆ getTotalTime()

def getTotalTime (   self)

◆ profileSucceeded()

def profileSucceeded (   self)

◆ release()

def release (   self)

◆ resetTotalTime()

def resetTotalTime (   self)

◆ run()

def run (   self)

◆ setAggregate()

def setAggregate (   self,
  aggregate 
)

◆ setFunc()

def setFunc (   self,
  func 
)

◆ setLines()

def setLines (   self,
  lines 
)

◆ setLogAfterProfile()

def setLogAfterProfile (   self,
  logAfterProfile 
)

◆ setName()

def setName (   self,
  name 
)

◆ setShowCallInfo()

def setShowCallInfo (   self,
  showCallInfo 
)

◆ setSorts()

def setSorts (   self,
  sorts 
)

◆ setTotalTime()

def setTotalTime (   self,
  totalTime = None 
)

Member Data Documentation

◆ notify

notify = directNotify.newCategory("ProfileSession")
static

◆ TrueClock