Lines Matching defs:N_threads
1985 const int N_threads = 3;
1986 Barrier barrier(N_threads);
1994 CHECK(GLOB == N_threads);
2001 ThreadPool pool(N_threads);
2003 for (int i = 0; i < N_threads; i++) {
2106 int N_threads = 3;
7394 const int N_threads = 32;
7397 ProducerConsumerQueue *Q[N_threads];
7404 ProducerConsumerQueue &myQ = *Q[myId], &nextQ = *Q[(myId+1) % N_threads];
7413 for (int i = 0; i < N_threads; i++)
7422 for (int i = 0; i < N_threads; i++)
7427 ThreadPool pool(N_threads);
7429 for (int i = 0; i < N_threads; i++) {
7434 for (int i = 0; i < N_threads; i++)
7546 const int N_threads = 64,
7562 barrier[i] = new Barrier(N_threads);
7565 ThreadPool pool(N_threads);
7567 for (int i = 0; i < N_threads; i++) {
7571 CHECK(GLOB == N_threads * ITERATIONS);