direct.showbase.ProfileSession

from direct.showbase.ProfileSession import PercentStats, ProfileSession

Inheritance diagram

Inheritance diagram of direct.showbase.ProfileSession

class PercentStats(*args, stream=None)[source]

Bases: Stats

add(self, *args, **kArgs)[source]
f8(self, x)[source]
func_std_string(func_name)[source]
print_line(self, func)[source]
print_stats(self, *amount)[source]
setTotalTime(self, tt)[source]
class ProfileSession(name, func=None, logAfterProfile=False)[source]

Bases: object

TrueClock = <panda3d.core.TrueClock object>
__init__(self, name, func=None, logAfterProfile=False)[source]
acquire(self)[source]
aggregate(self, other)[source]
getAggregate(self)[source]
getDuration(self)[source]
getFunc(self)[source]
getLines(self)[source]
getLogAfterProfile(self)[source]
getName(self)[source]
getReference(self)[source]
getResults(self, lines=<class 'direct.showbase.PythonUtil.Default'>, sorts=<class 'direct.showbase.PythonUtil.Default'>, callInfo=<class 'direct.showbase.PythonUtil.Default'>, totalTime=<class 'direct.showbase.PythonUtil.Default'>)[source]
getShowCallInfo(self)[source]
getSorts(self)[source]
getTotalTime(self)[source]
notify = <direct.directnotify.Notifier.Notifier object>
profileSucceeded(self)[source]
release(self)[source]
resetTotalTime(self)[source]
run(self)[source]
setAggregate(self, aggregate)[source]
setFunc(self, func)[source]
setLines(self, lines)[source]
setLogAfterProfile(self, logAfterProfile)[source]
setName(self, name)[source]
setShowCallInfo(self, showCallInfo)[source]
setSorts(self, sorts)[source]
setTotalTime(self, totalTime=None)[source]