Lines Matching refs:thread_nr
1030 int thread_nr;
1044 thread_nr = sysconf(_SC_NPROCESSORS_ONLN);
1046 thread_nr = nr_threads_synthesize;
1048 if (thread_nr <= 1) {
1055 if (thread_nr > n)
1056 thread_nr = n;
1058 synthesize_threads = calloc(thread_nr, sizeof(pthread_t));
1062 args = calloc(thread_nr, sizeof(*args));
1066 num_per_thread = n / thread_nr;
1067 m = n % thread_nr;
1068 for (i = 0; i < thread_nr; i++) {
1082 for (j = i; j < thread_nr; j++) {
1087 for (i = 0; i < thread_nr; i++) {
1094 for (i = 0; i < thread_nr; i++)