Lines Matching refs:NUMTHREAD
113 #define NUMTHREAD 32 /* number of threads to spawn default to 32 */
201 * (pages_num / NUMTHREAD)
219 for (; pgnum_ndx < (pages_num / NUMTHREAD); pgnum_ndx++) {
289 static pthread_t pthread_ids[NUMTHREAD];
414 for (thrd_ndx = 0; thrd_ndx < NUMTHREAD; thrd_ndx++) {
468 return map_and_thread("./tmp.file.1", thread_fault, READ_FAULT, NUMTHREAD);
484 return map_and_thread("./tmp.file.2", thread_fault, WRITE_FAULT, NUMTHREAD);
501 return map_and_thread("./tmp.file.3", thread_fault, COW_FAULT, NUMTHREAD);
519 return map_and_thread("/dev/zero", thread_fault, COW_FAULT, NUMTHREAD);
548 /* fork NUMTHREAD number of processes, assumption is on SMP each will get */
549 /* a separate CPU if NRCPUS = NUMTHREAD. The child does nothing; exits */
559 } while (fork_ndx++ < NUMTHREAD);
599 /* fork NUMTHREAD number of processes, assumption is on SMP each will get */
600 /* a separate CPU if NRCPUS = NUMTHREAD. The child execs a dummy program */
619 } while (fork_ndx++ < NUMTHREAD);