/external/valgrind/main/drd/tests/ |
omp_printf.c | 27 int num_threads = 2; local 36 case 't': num_threads = atoi(optarg); break; 47 assert(num_threads > 0); 49 omp_set_num_threads(num_threads);
|
omp_prime.c | 42 int num_threads = 2; local 55 num_threads = atoi(optarg); 76 assert(num_threads >= 1); 81 omp_set_num_threads(num_threads);
|
tsan_thread_wrappers_pthread.h | 524 int num_threads() { return workers_.size();} function in class:ThreadPool
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
omp_loop.h | 80 thread_index_t num_threads = local 85 # pragma omp parallel num_threads(num_threads) 89 num_threads = omp_get_num_threads(); 90 thread_results = new Result[num_threads]; 92 for (thread_index_t i = 0; i < num_threads; ++i) 104 for (thread_index_t i = 0; i < num_threads; ++i)
|
omp_loop_static.h | 80 thread_index_t num_threads = local 85 # pragma omp parallel num_threads(num_threads) 89 num_threads = omp_get_num_threads(); 90 thread_results = new Result[num_threads]; 92 for (thread_index_t i = 0; i < num_threads; ++i) 103 for (thread_index_t i = 0; i < num_threads; ++i)
|
par_loop.h | 82 thread_index_t num_threads = local 85 # pragma omp parallel num_threads(num_threads) 89 num_threads = omp_get_num_threads(); 91 ::operator new(num_threads * sizeof(Result))); 92 constructed = new bool[num_threads]; 101 start = equally_split_point(length, num_threads, iam), 102 stop = equally_split_point(length, num_threads, iam + 1); 119 for (thread_index_t i = 0; i < num_threads; ++i)
|
search.h | 111 thread_index_t num_threads = local 118 # pragma omp parallel num_threads(num_threads) 122 num_threads = omp_get_num_threads(); 123 splitters = new difference_type[num_threads + 1]; 124 equally_split(input_length, num_threads, splitters);
|
unique_copy.h | 69 thread_index_t num_threads = get_max_threads(); local 71 # pragma omp parallel num_threads(num_threads) 75 num_threads = omp_get_num_threads(); 76 borders = new difference_type[num_threads + 2]; 77 equally_split(size, num_threads + 1, borders); 78 counter = new difference_type[num_threads + 1]; 130 for (int t = 0; t < num_threads; ++t) 137 begin = borders[num_threads]; 149 counter[num_threads] = i [all...] |
find.h | 117 thread_index_t num_threads = get_max_threads(); local 118 # pragma omp parallel num_threads(num_threads) 122 num_threads = omp_get_num_threads(); 123 borders = new difference_type[num_threads + 1]; 124 equally_split(length, num_threads, borders); 223 thread_index_t num_threads = get_max_threads(); local 224 # pragma omp parallel shared(result) num_threads(num_threads) 227 num_threads = omp_get_num_threads() 344 thread_index_t num_threads = get_max_threads(); local [all...] |
tags.h | 49 thread_index_t num_threads; member in struct:__gnu_parallel::parallel_tag 55 this->num_threads = 0; 59 * @param num_threads Desired number of threads. */ 60 parallel_tag(thread_index_t num_threads) 62 this->num_threads = num_threads; 69 if(num_threads == 0) 72 return num_threads; 76 * @param num_threads Desired number of threads. */ 77 inline void set_num_threads(thread_index_t num_threads) [all...] |
balanced_quicksort.h | 78 thread_index_t num_threads; member in struct:__gnu_parallel::QSBThreadLocal 95 * @param num_threads Number of threads that are allowed to work on 101 Comparator comp, thread_index_t num_threads) 103 _GLIBCXX_PARALLEL_ASSERT(num_threads > 0); 136 begin, end - 1, pred, num_threads); 159 * @param num_threads 166 thread_index_t iam, thread_index_t num_threads, 175 if (num_threads <= 1 || n <= 1) 186 difference_type split_pos = qsb_divide(begin, end, comp, num_threads); 194 num_threads - 1, split_pos * num_threads / n)) 253 thread_index_t num_threads = tl.num_threads; local [all...] |
multiway_mergesort.h | 69 thread_index_t num_threads; member in struct:__gnu_parallel::PMWMSSortingData 144 seqs(sd->num_threads); 145 for (thread_index_t s = 0; s < sd->num_threads; s++) 150 std::vector<SortingPlacesIterator> offsets(sd->num_threads); 153 if (iam < sd->num_threads - 1) 157 for (int seq = 0; seq < sd->num_threads; seq++) 160 if (iam < (sd->num_threads - 1)) 170 for (thread_index_t seq = 0; seq < sd->num_threads; seq++) 207 sd->samples + (num_samples * sd->num_threads), 212 for (thread_index_t s = 0; s < sd->num_threads; ++s [all...] |
set_operations.h | 379 thread_index_t num_threads = local 383 # pragma omp parallel num_threads(num_threads) 387 num_threads = omp_get_num_threads(); 389 borders = new difference_type[num_threads + 2]; 390 equally_split(size, num_threads + 1, borders); 391 block_begins = new iterator_pair[num_threads + 1]; 394 lengths = new difference_type[num_threads]; 449 for (int i = 0; i < num_threads; ++i) 452 block_begin = block_begins[num_threads]; [all...] |
workstealing.h | 134 thread_index_t num_threads = local 138 # pragma omp parallel shared(busy) num_threads(num_threads) 143 num_threads = omp_get_num_threads(); 146 job = new Job<difference_type>[num_threads * stride]; 170 // (modulo num_threads). 171 random_number rand_gen(iam, num_threads); 181 static_cast<difference_type>(iam * (length / num_threads)); 183 my_job.last = (iam == (num_threads - 1)) ? 184 (length - 1) : ((iam + 1) * (length / num_threads) - 1) [all...] |
multiway_merge.h | 1115 int num_threads = omp_get_num_threads(); local 1196 const int num_threads = omp_get_num_threads(); local [all...] |
random_shuffle.h | 66 * Dimensions (num_threads + 1) x (num_bins + 1). */ 94 int num_threads; member in struct:__gnu_parallel::DRSSorterPU 138 value_type** temporaries = new value_type*[d->num_threads]; 164 // Sum up bins, sd->dist[s + 1][d->num_threads] now contains the 168 sd->dist[s + 1] + d->num_threads + 1, 176 global_offset += sd->dist[s + 1][d->num_threads]; 182 for (int t = 0; t < d->num_threads + 1; ++t) 184 offset = sd->dist[s + 1][d->num_threads]; 197 for (thread_index_t t = 0; t < d->num_threads; ++t) 209 // Last column [d->num_threads] stays unchanged 330 thread_index_t num_threads = omp_get_num_threads(); local [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
codec.h | 142 num_threads(kDefaultMaxThreads), 148 num_threads(kDefaultMaxThreads), 154 num_threads(t), 160 num_threads = config.num_threads; 167 num_threads == config.num_threads && 176 int num_threads; member in struct:cricket::VideoEncoderConfig
|
/external/valgrind/unittest/ |
thread_wrappers.h | 254 int num_threads() { return workers_.size();} function in class:ThreadPool
|
/external/opencv/cv/src/ |
cvtemplmatch.cpp | 52 int k, num_threads = 0; local 134 num_threads = cvGetNumThreads(); 136 for( k = 0; k < num_threads; k++ ) 151 for( k = 0; k < num_threads; k++ ) 193 #pragma omp parallel for num_threads(num_threads) schedule(dynamic) 299 for( k = 0; k < num_threads; k++ )
|
/system/core/toolbox/ |
top.c | 69 int num_threads; member in struct:proc_info 270 proc->num_threads = 0; 307 proc->num_threads++; 483 printf("%5d %2d %3ld%% %c %5d %6ldK %6ldK %3s %-8.8s %s\n", proc->pid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state, proc->num_threads, 556 return -numcmp(pa->num_threads, pb->num_threads);
|