- Reworked the worker and the asyncrhnous_state_machine class templates so that state machine objects can dynamically be added and removed and custom workers with priority-queues become possible

- Various other minor changes


[SVN r22402]
This commit is contained in:
Andreas Huber
2004-02-28 14:05:09 +00:00
parent 440339db6f
commit 2acb90e332
14 changed files with 512 additions and 278 deletions

View File

@@ -331,7 +331,8 @@ int main( int argc, char * argv[] )
const unsigned int eventsSent2 = eventsSentTotal - startEvents2;
std::cout << "Time to dispatch one event and\n" <<
"perform the resulting transition: ";
std::cout << elapsedTime2 * 1000.0 / eventsSent2 << " microseconds\n\n";
std::cout << elapsedTime2 / static_cast< double >( CLOCKS_PER_SEC ) *
1000000.0 / eventsSent2 << " microseconds\n\n";
}
break;