shorten dirtyPageTable test.

This commit is contained in:
Sears Russell 2010-01-22 23:39:42 +00:00
parent bb182ee0b0
commit 903728c589

View file

@ -65,8 +65,13 @@ terms specified in this license.
*/
#define NUM_WORKERS 100
#ifdef LONG_TEST
#define NUM_STEPS 10000000
#define NUM_PAGES 1000
#else
#define NUM_STEPS 100000
#define NUM_PAGES 100
#endif
void * worker(void*arg) {
stasis_dirty_page_table_t * dpt = stasis_runtime_dirty_page_table();
for(int i = 0; i < NUM_STEPS; i++) {