Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
TaskProfiler Class Reference

## Public Member Functions
| __init__ (self)
| destroy (self)
| flush (self, name)
| logProfiles (self, name=None)

## Static Public Member Functions
| GetDefaultSpikeThreshold ()
| GetSpikeThreshold ()
| SetSpikeThreshold (spikeThreshold)

## Static Public Attributes
| notify = directNotify.newCategory("TaskProfiler")

## Protected Member Functions
| _doProfileTasks (self, task=None)
| _setEnabled (self, enabled)

## Protected Attributes
| _doProfileTasks
| _enableFC = FunctionCall(self._setEnabled, taskMgr.getProfileTasksSV())
dict | _namePrefix2tracker = {}
| _task = None
str | _taskName = 'profile-tasks-%s' % id(self)

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self | ) |

## Member Function Documentation

## ◆ _doProfileTasks()

_doProfileTasks | ( |  | self,
|  |  | task = None )
| protected

## ◆ _setEnabled()

_setEnabled | ( |  | self,
|  |  | enabled )
| protected

## ◆ destroy()

destroy | ( |  | self | ) |

## ◆ flush()

flush | ( |  | self,
|  |  | name )

## ◆ GetDefaultSpikeThreshold()

GetDefaultSpikeThreshold | ( |  | ) |
| static

## ◆ GetSpikeThreshold()

GetSpikeThreshold | ( |  | ) |
| static

## ◆ logProfiles()

logProfiles | ( |  | self,
|  |  | name = None )

## ◆ SetSpikeThreshold()

SetSpikeThreshold | ( |  | spikeThreshold | ) |
| static

## Member Data Documentation

## ◆ _doProfileTasks

_doProfileTasks
| protected

## ◆ _enableFC

_enableFC = FunctionCall(self._setEnabled, taskMgr.getProfileTasksSV())
| protected

## ◆ _namePrefix2tracker

dict _namePrefix2tracker = {}
| protected

## ◆ _task

_task = None
| protected

## ◆ _taskName

_taskName = 'profile-tasks-%s' % id(self)
| protected

## ◆ notify

notify = directNotify.newCategory("TaskProfiler")
| static