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

Public Member Functions

def __init__ (self, namePrefix)
 
def addProfileSession (self, session)
 
def destroy (self)
 
def flush (self)
 
def getAvgDuration (self)
 
def getAvgSession (self)
 
def getNamePrefix (self, namePrefix)
 
def getNumDurationSamples (self)
 
def log (self)
 

Static Public Attributes

 MinSamples = None
 
 notify = directNotify.newCategory("TaskProfiler")
 
 SpikeThreshold = None
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  namePrefix 
)

Member Function Documentation

◆ addProfileSession()

def addProfileSession (   self,
  session 
)

◆ destroy()

def destroy (   self)

◆ flush()

def flush (   self)

◆ getAvgDuration()

def getAvgDuration (   self)

◆ getAvgSession()

def getAvgSession (   self)

◆ getNamePrefix()

def getNamePrefix (   self,
  namePrefix 
)

◆ getNumDurationSamples()

def getNumDurationSamples (   self)

◆ log()

def log (   self)

Member Data Documentation

◆ MinSamples

MinSamples = None
static

◆ notify

notify = directNotify.newCategory("TaskProfiler")
static

◆ SpikeThreshold

SpikeThreshold = None
static