direct.task.TaskProfiler

from direct.task.TaskProfiler import TaskProfiler, TaskTracker

Inheritance diagram

Inheritance diagram of direct.task.TaskProfiler

class TaskProfiler[source]

Bases: object

GetDefaultSpikeThreshold()[source]
GetSpikeThreshold()[source]
SetSpikeThreshold(spikeThreshold)[source]
__init__(self)[source]
destroy(self)[source]
flush(self, name)[source]
logProfiles(self, name=None)[source]
notify = <direct.directnotify.Notifier.Notifier object>
class TaskTracker(namePrefix)[source]

Bases: object

MinSamples = None
SpikeThreshold = None
__init__(self, namePrefix)[source]
addProfileSession(self, session)[source]
destroy(self)[source]
flush(self)[source]
getAvgDuration(self)[source]
getAvgSession(self)[source]
getNamePrefix(self, namePrefix)[source]
getNumDurationSamples(self)[source]
log(self)[source]
notify = <direct.directnotify.Notifier.Notifier object>