Lines Matching refs:n_garbage_threads
72 int n_garbage_threads;
75 n_garbage_threads = 200;
80 n_garbage_threads = atoi(argv[2]);
81 assert(n_garbage_threads > 0 && n_garbage_threads <= 16000);
84 printf("Usage: %s n_threads n_garbage_threads n_iterations\n", argv[0]);
87 printf("%s: n_threads=%d n_garbage_threads=%d n_iterations=%d\n",
88 __FILE__, n_threads, n_garbage_threads, n_iterations);
90 pthread_barrier_init(&all_threads_ready, NULL, n_garbage_threads + n_threads + 1);
95 pthread_t *g_t = new pthread_t[n_garbage_threads];
96 for (int i = 0; i < n_garbage_threads; i++) {
106 for (int i = 0; i < n_garbage_threads; i++) {