Searched refs:num_threads (Results 1 - 25 of 107) sorted by relevance

12345

/netbsd-current/external/gpl3/gcc.old/dist/libgomp/
H A Dparallel.c43 unsigned threads_requested, max_num_threads, num_threads; local
90 num_threads = max_num_threads;
91 if (num_threads > icv->thread_limit_var)
92 num_threads = icv->thread_limit_var;
94 pool->threads_busy = num_threads;
95 return num_threads;
102 num_threads = max_num_threads;
103 if (icv->thread_limit_var - busy + 1 < num_threads)
104 num_threads = icv->thread_limit_var - busy + 1;
107 busy, busy + num_threads
123 GOMP_parallel_start(void (*fn) (void *), void *data, unsigned num_threads) argument
176 GOMP_parallel_reductions(void (*fn) (void *), void *data, unsigned num_threads, unsigned int flags) argument
[all...]
H A Dsections.c213 unsigned num_threads, unsigned count)
217 num_threads = gomp_resolve_num_threads (num_threads, count);
218 team = gomp_new_team (num_threads);
220 gomp_team_start (fn, data, num_threads, 0, team, NULL);
227 unsigned num_threads, unsigned count, unsigned flags)
231 num_threads = gomp_resolve_num_threads (num_threads, count);
232 team = gomp_new_team (num_threads);
234 gomp_team_start (fn, data, num_threads, flag
212 GOMP_parallel_sections_start(void (*fn) (void *), void *data, unsigned num_threads, unsigned count) argument
[all...]
H A Dloop.c788 unsigned num_threads, long start, long end,
794 num_threads = gomp_resolve_num_threads (num_threads, 0);
795 team = gomp_new_team (num_threads);
797 gomp_team_start (fn, data, num_threads, flags, team, NULL);
802 unsigned num_threads, long start, long end,
805 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr,
811 unsigned num_threads, long start, long end,
814 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr,
820 unsigned num_threads, lon
787 gomp_parallel_loop_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, enum gomp_schedule_type sched, long chunk_size, unsigned int flags) argument
801 GOMP_parallel_loop_static_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
810 GOMP_parallel_loop_dynamic_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
819 GOMP_parallel_loop_guided_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
828 GOMP_parallel_loop_runtime_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr) argument
852 GOMP_parallel_loop_dynamic(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size, unsigned flags) argument
863 GOMP_parallel_loop_guided(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size, unsigned flags) argument
874 GOMP_parallel_loop_runtime(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, unsigned flags) argument
897 GOMP_parallel_loop_nonmonotonic_dynamic(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size, unsigned flags) argument
909 GOMP_parallel_loop_nonmonotonic_guided(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size, unsigned flags) argument
921 GOMP_parallel_loop_nonmonotonic_runtime(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, unsigned flags) argument
934 GOMP_parallel_loop_maybe_nonmonotonic_runtime(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, unsigned flags) argument
[all...]
/netbsd-current/external/gpl3/gcc/dist/libgomp/
H A Dparallel.c43 unsigned threads_requested, max_num_threads, num_threads; local
97 num_threads = max_num_threads;
98 if (num_threads > icv->thread_limit_var)
99 num_threads = icv->thread_limit_var;
101 pool->threads_busy = num_threads;
102 return num_threads;
109 num_threads = max_num_threads;
110 if (icv->thread_limit_var - busy + 1 < num_threads)
111 num_threads = icv->thread_limit_var - busy + 1;
114 busy, busy + num_threads
130 GOMP_parallel_start(void (*fn) (void *), void *data, unsigned num_threads) argument
183 GOMP_parallel_reductions(void (*fn) (void *), void *data, unsigned num_threads, unsigned int flags) argument
[all...]
H A Dsections.c216 unsigned num_threads, unsigned count)
220 num_threads = gomp_resolve_num_threads (num_threads, count);
221 team = gomp_new_team (num_threads);
223 gomp_team_start (fn, data, num_threads, 0, team, NULL);
230 unsigned num_threads, unsigned count, unsigned flags)
234 num_threads = gomp_resolve_num_threads (num_threads, count);
235 team = gomp_new_team (num_threads);
237 gomp_team_start (fn, data, num_threads, flag
215 GOMP_parallel_sections_start(void (*fn) (void *), void *data, unsigned num_threads, unsigned count) argument
[all...]
H A Dloop.c791 unsigned num_threads, long start, long end,
797 num_threads = gomp_resolve_num_threads (num_threads, 0);
798 team = gomp_new_team (num_threads);
800 gomp_team_start (fn, data, num_threads, flags, team, NULL);
805 unsigned num_threads, long start, long end,
808 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr,
814 unsigned num_threads, long start, long end,
817 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr,
823 unsigned num_threads, lon
790 gomp_parallel_loop_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, enum gomp_schedule_type sched, long chunk_size, unsigned int flags) argument
804 GOMP_parallel_loop_static_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
813 GOMP_parallel_loop_dynamic_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
822 GOMP_parallel_loop_guided_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
831 GOMP_parallel_loop_runtime_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr) argument
855 GOMP_parallel_loop_dynamic(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size, unsigned flags) argument
866 GOMP_parallel_loop_guided(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size, unsigned flags) argument
877 GOMP_parallel_loop_runtime(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, unsigned flags) argument
900 GOMP_parallel_loop_nonmonotonic_dynamic(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size, unsigned flags) argument
912 GOMP_parallel_loop_nonmonotonic_guided(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size, unsigned flags) argument
924 GOMP_parallel_loop_nonmonotonic_runtime(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, unsigned flags) argument
937 GOMP_parallel_loop_maybe_nonmonotonic_runtime(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, unsigned flags) argument
[all...]
/netbsd-current/external/mit/libuv/dist/test/
H A Dbenchmark-thread.c30 static volatile int num_threads; variable
35 num_threads++;
58 ASSERT(num_threads == NUM_THREADS);
/netbsd-current/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dcounter.h21 void Finish(UserCounters *l, double time, double num_threads);
H A Dcounter.cc20 double Finish(Counter const& c, double cpu_time, double num_threads) { argument
26 v /= num_threads;
31 void Finish(UserCounters *l, double cpu_time, double num_threads) { argument
33 c.second.value = Finish(c.second, cpu_time, num_threads);
H A Dthread_manager.h14 ThreadManager(int num_threads) argument
15 : alive_threads_(num_threads), start_stop_barrier_(num_threads) {}
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/
H A Dthread-pool.cc93 thread_pool::set_thread_count (size_t num_threads) argument
98 if (m_thread_count < num_threads)
103 for (size_t i = m_thread_count; i < num_threads; ++i)
110 if (num_threads < m_thread_count)
112 for (size_t i = num_threads; i < m_thread_count; ++i)
117 m_thread_count = num_threads;
H A Dthread-pool.h51 void set_thread_count (size_t num_threads);
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dcounter.cc21 double num_threads) {
27 v /= num_threads;
38 void Finish(UserCounters* l, int64_t iterations, double cpu_time, double num_threads) { argument
40 c.second.value = Finish(c.second, iterations, cpu_time, num_threads);
20 Finish(Counter const& c, int64_t iterations, double cpu_time, double num_threads) argument
H A Dcounter.h21 void Finish(UserCounters* l, int64_t iterations, double time, double num_threads);
H A Dthread_manager.h14 ThreadManager(int num_threads) argument
15 : alive_threads_(num_threads), start_stop_barrier_(num_threads) {}
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dthread-pool.cc153 thread_pool::set_thread_count (size_t num_threads) argument
159 if (m_thread_count < num_threads)
164 for (size_t i = m_thread_count; i < num_threads; ++i)
176 num_threads = i;
182 if (num_threads < m_thread_count)
184 for (size_t i = num_threads; i < m_thread_count; ++i)
189 m_thread_count = num_threads;
/netbsd-current/crypto/external/cpl/trousers/etc/
H A Dtcsd.conf2 num_threads = 10
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
H A Domp-par-scope.c53 #pragma omp parallel num_threads (2) shared (s1, i1) private (s2, i2)
89 #pragma omp parallel num_threads (2) \
134 #pragma omp parallel num_threads (2) shared (i, p, x) private (j, q, y)
169 #pragma omp parallel num_threads (2) private (l)
178 #pragma omp parallel num_threads (2) shared (num)
H A Dinterrupt-while-step-over.c23 const int num_threads = NUM_THREADS; variable
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Domp-par-scope.c53 #pragma omp parallel num_threads (2) shared (s1, i1) private (s2, i2)
89 #pragma omp parallel num_threads (2) \
134 #pragma omp parallel num_threads (2) shared (i, p, x) private (j, q, y)
169 #pragma omp parallel num_threads (2) private (l)
178 #pragma omp parallel num_threads (2) shared (num)
H A Dinterrupt-while-step-over.c23 const int num_threads = NUM_THREADS; variable
/netbsd-current/sbin/nvmectl/
H A Dperftest.c62 for (i = 0; i < io_test->num_threads; i++)
69 io_test->num_threads, io_test->size,
74 for (i = 0; i < io_test->num_threads; i++)
118 io_test.num_threads = strtoul(optarg, &p, 0);
124 } else if (io_test.num_threads == 0 ||
125 io_test.num_threads > 128) {
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/
H A Dbackground_thread_structs.h47 size_t num_threads; member in struct:background_thread_stats_s
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/
H A Dbackground_thread_structs.h47 size_t num_threads; member in struct:background_thread_stats_s
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dwatch_thread_num.c36 static int num_threads = NUM; variable

Completed in 320 milliseconds

12345