Changeset 2908 for code/branches/questsystem5/src/core/TclThreadManager.cc
- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/core/TclThreadManager.cc
r2907 r2908 35 35 #include <OgreTimer.h> 36 36 37 #include "Clock.h"38 37 #include "CoreIncludes.h" 39 38 #include "ConsoleCommand.h" … … 599 598 } 600 599 601 void TclThreadManager:: update(const Clock& time)600 void TclThreadManager::tick(float dt) 602 601 { 603 602 { … … 634 633 boost::try_mutex::scoped_lock interpreter_lock(this->orxonoxInterpreterBundle_.interpreterMutex_); 635 634 #endif 636 unsigned long maxtime = (unsigned long)( time.getDeltaTime()* 1000000 * TCLTHREADMANAGER_MAX_CPU_USAGE);635 unsigned long maxtime = (unsigned long)(dt * 1000000 * TCLTHREADMANAGER_MAX_CPU_USAGE); 637 636 Ogre::Timer timer; 638 637 while (!this->queueIsEmpty())
Note: See TracChangeset
for help on using the changeset viewer.