Panda3D

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

## Public Member Functions
| __init__ (self, namePrefix)
| addProfileSession (self, session)
| destroy (self)
| flush (self)
| getAvgDuration (self)
| getAvgSession (self)
| getNamePrefix (self, namePrefix)
| getNumDurationSamples (self)
| log (self)

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

## Protected Member Functions
| _checkSpike (self, session)

## Protected Attributes
| _avgSession = None
| _durationAverager = Averager('%s-durationAverager' % namePrefix)
| _namePrefix = namePrefix

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | namePrefix )

## Member Function Documentation

## ◆ _checkSpike()

_checkSpike | ( |  | self,
|  |  | session )
| protected

## ◆ addProfileSession()

addProfileSession | ( |  | self,
|  |  | session )

## ◆ destroy()

destroy | ( |  | self | ) |

## ◆ flush()

flush | ( |  | self | ) |

## ◆ getAvgDuration()

getAvgDuration | ( |  | self | ) |

## ◆ getAvgSession()

getAvgSession | ( |  | self | ) |

## ◆ getNamePrefix()

getNamePrefix | ( |  | self,
|  |  | namePrefix )

## ◆ getNumDurationSamples()

getNumDurationSamples | ( |  | self | ) |

## ◆ log()

log | ( |  | self | ) |

## Member Data Documentation

## ◆ _avgSession

_avgSession = None
| protected

## ◆ _durationAverager

_durationAverager = Averager('%s-durationAverager' % namePrefix)
| protected

## ◆ _namePrefix

_namePrefix = namePrefix
| protected

## ◆ MinSamples

MinSamples = None
| static

## ◆ notify

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

## ◆ SpikeThreshold

SpikeThreshold = None
| static