- added a more proper #define setup to completely stub out debugging to test performance

(simply uncomment #define UNDEF_DEBUG and the debug statements become nothing)
- Added piles of experimental changes for testing different performance scenarios (all of these changes are turned off by default and will most likely eventually be removed)
This commit is contained in:
Mark Vejvoda
2010-05-07 06:46:55 +00:00
parent 1a6bb489b8
commit 8aa14009d1
12 changed files with 211 additions and 27 deletions

View File

@@ -56,12 +56,19 @@ protected:
unsigned int executionCount;
unsigned int millisecsBetweenExecutions;
Mutex mutexTaskSignaller;
bool taskSignalled;
bool needTaskSignal;
public:
SimpleTaskThread();
SimpleTaskThread(SimpleTaskCallbackInterface *simpleTaskInterface,
unsigned int executionCount=0,
unsigned int millisecsBetweenExecutions=0);
unsigned int millisecsBetweenExecutions=0,
bool needTaskSignal = false);
virtual void execute();
void setTaskSignalled(bool value);
bool getTaskSignalled();
};
}}//end namespace