groundwork for FrameProfiler

This commit is contained in:
Darren Ranalli 2008-10-22 00:51:00 +00:00
parent 3e62e60195
commit fa00e63e1a

View File

@ -2275,10 +2275,6 @@ class ShowBase(DirectObject.DirectObject):
# Set fWantTk to 0 to avoid starting Tk with this call # Set fWantTk to 0 to avoid starting Tk with this call
self.startDirect(fWantDirect = fDirect, fWantTk = fTk, fWantWx = fWx) self.startDirect(fWantDirect = fDirect, fWantTk = fTk, fWantWx = fWx)
def profileFrames(self, num=1):
# profile the next 'num' frames and log the results
self.taskMgr.profileFrames(num)
def run(self): def run(self):
self.taskMgr.run() self.taskMgr.run()