Searched refs:nthreads (Results 26 - 50 of 84) sorted by relevance

1234

/netbsd-current/sys/arch/mips/rmi/
H A Drmixl_cpucore.c89 u_int nthreads; local
132 nthreads = MIPS_CIDFL_RMI_NTHREADS(mips_options.mips_cpu->cpu_cidflags);
133 aprint_normal_dev(self, "%d %s on core\n", nthreads,
134 nthreads == 1 ? "thread" : "threads");
140 u_int thread_mask = (1 << nthreads) - 1;
141 u_int core_shft = sc->sc_core * nthreads;
/netbsd-current/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dbarrier.c56 barrier_init(barrier_t *bar, int nthreads) argument
72 bar->bar_nthr = nthreads;
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/
H A Dordered.c47 if (team == NULL || team->nthreads == 1)
51 if (index >= team->nthreads)
52 index -= team->nthreads;
78 if (team == NULL || team->nthreads == 1)
88 if (next == team->nthreads)
113 if (team == NULL || team->nthreads == 1)
131 if (ws->ordered_num_used < team->nthreads)
134 if (index >= team->nthreads)
135 index -= team->nthreads;
140 if (index == team->nthreads)
[all...]
H A Dparallel.c138 unsigned int nthreads = team ? team->nthreads : 1; local
140 if (nthreads > 1)
150 1UL - nthreads);
153 thr->thread_pool->threads_busy -= nthreads - 1;
274 return team ? team->nthreads : 1;
321 return ts->team->nthreads;
H A Dwork.c102 unsigned nthreads)
113 size_t o = nthreads * sizeof (*ws->ordered_team_ids);
121 ordered = nthreads * sizeof (*ws->ordered_team_ids);
207 gomp_init_work_share (ws, ordered, team->nthreads);
307 if (completed == team->nthreads)
101 gomp_init_work_share(struct gomp_work_share *ws, size_t ordered, unsigned nthreads) argument
H A Dsections.c52 long nthreads = team ? team->nthreads : 1; local
54 ws->mode = ((nthreads | ws->end)
H A Dtaskloop.c146 num_tasks = team ? team->nthreads : 1;
192 || team->task_count + num_tasks > 64 * team->nthreads)
366 < team->nthreads)
368 do_wake = team->nthreads - team->task_running_count
/netbsd-current/external/gpl3/gcc/dist/libgomp/
H A Dordered.c47 if (team == NULL || team->nthreads == 1)
51 if (index >= team->nthreads)
52 index -= team->nthreads;
78 if (team == NULL || team->nthreads == 1)
88 if (next == team->nthreads)
113 if (team == NULL || team->nthreads == 1)
131 if (ws->ordered_num_used < team->nthreads)
134 if (index >= team->nthreads)
135 index -= team->nthreads;
140 if (index == team->nthreads)
[all...]
H A Dparallel.c145 unsigned int nthreads = team ? team->nthreads : 1; local
147 if (nthreads > 1)
157 1UL - nthreads);
160 thr->thread_pool->threads_busy -= nthreads - 1;
281 return team ? team->nthreads : 1;
328 return ts->team->nthreads;
H A Dwork.c102 unsigned nthreads)
113 size_t o = nthreads * sizeof (*ws->ordered_team_ids);
123 ordered = nthreads * sizeof (*ws->ordered_team_ids);
214 gomp_init_work_share (ws, ordered, team->nthreads);
314 if (completed == team->nthreads)
101 gomp_init_work_share(struct gomp_work_share *ws, size_t ordered, unsigned nthreads) argument
H A Dsections.c52 long nthreads = team ? team->nthreads : 1; local
54 ws->mode = ((nthreads | ws->end)
/netbsd-current/regress/sys/kern/allocfree/
H A Dallocfree.c50 static int nthreads; variable
147 while (barrier < nthreads) {
154 while (barrier2 < nthreads) {
198 nthreads = nt;
210 nthreads--;
219 if (nthreads == 0) {
222 printf("\t%d", (int)(total / nthreads / count));
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/nvptx/
H A Dteam.c118 gomp_team_start (void (*fn) (void *), void *data, unsigned nthreads, argument
141 if (nthreads > 1)
153 if (nthreads == 1)
157 for (unsigned i = 1; i < nthreads; ++i)
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/gcn/
H A Dteam.c152 gomp_team_start (void (*fn) (void *), void *data, unsigned nthreads, argument
175 if (nthreads > 1)
187 if (nthreads == 1)
191 for (unsigned i = 1; i < nthreads; ++i)
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/gcn/
H A Dteam.c152 gomp_team_start (void (*fn) (void *), void *data, unsigned nthreads, argument
175 if (nthreads > 1)
187 if (nthreads == 1)
191 for (unsigned i = 1; i < nthreads; ++i)
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/nvptx/
H A Dteam.c121 gomp_team_start (void (*fn) (void *), void *data, unsigned nthreads, argument
144 if (nthreads > 1)
156 if (nthreads == 1)
160 for (unsigned i = 1; i < nthreads; ++i)
/netbsd-current/external/cddl/osnet/sys/kern/
H A Dtaskq.c256 taskq_create(const char *name, int nthreads, pri_t pri, int minalloc, argument
270 nthreads = MAX((ncpu * nthreads) / 100, 1);
273 tq->tq_nthreads = nthreads;
279 tq->tq_executor = kmem_alloc(sizeof(*tq->tq_executor) * nthreads,
281 for (i = 0; i < nthreads; i++) {
293 taskq_create_proc(const char *name, int nthreads, pri_t pri, int minalloc, argument
297 return taskq_create(name, nthreads, pri, minalloc, maxalloc, flags);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
H A Dlinux-dp.exp165 set nthreads 6
171 for {set i 1} {$i < $nthreads} {incr i} {
175 set info_threads_manager_ptn "[expr $nthreads + 1] *Thread .*$info_threads_ptn"
195 incr nthreads
333 for {set i 1} {$i <= $nthreads} {incr i} {
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dlinux-dp.exp165 set nthreads 6
171 for {set i 1} {$i < $nthreads} {incr i} {
175 set info_threads_manager_ptn "[expr $nthreads + 1] *Thread .*$info_threads_ptn"
195 incr nthreads
333 for {set i 1} {$i <= $nthreads} {incr i} {
/netbsd-current/usr.sbin/npf/npftest/
H A Dnpftest.c194 unsigned nthreads = 0; local
242 if ((nthreads = atoi(optarg)) > 0 &&
245 sprintf(nthr, "%u", nthreads + 1);
262 if (benchmark && (!config || !nthreads)) {
340 rumpns_npf_test_conc(false, nthreads);
343 rumpns_npf_test_conc(true, nthreads);
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/
H A Darena_structs_b.h91 atomic_u_t nthreads[2]; member in struct:arena_s
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/
H A Darena_structs_b.h91 atomic_u_t nthreads[2]; member in struct:arena_s
/netbsd-current/external/mpl/bind/dist/tests/dns/
H A Dname_test.c683 unsigned int nthreads; local
693 nthreads = ISC_MIN(isc_os_ncpus(), 32);
694 nthreads = ISC_MAX(nthreads, 1);
695 for (i = 0; i < nthreads; i++) {
699 for (i = 0; i < nthreads; i++) {
709 nthreads * 32000000, t / 1000000.0,
710 (nthreads * 32000000) / (t / 1000000.0));
/netbsd-current/external/mpl/bind/dist/tests/isc/
H A Dmem_test.c462 int nthreads = ISC_MAX(ISC_MIN(isc_os_ncpus(), 32), 1); local
475 for (int i = 0; i < nthreads; i++) {
478 for (int i = 0; i < nthreads; i++) {
490 nthreads * ITERS * NUM_ITEMS, t / 1000000.0,
491 (nthreads * ITERS * NUM_ITEMS) / (t / 1000000.0));
/netbsd-current/external/gpl3/gdb.old/dist/gdb/python/
H A Dpy-inferior.c56 int nthreads; member in struct:inferior_object
231 inf_obj->nthreads = 0;
341 inf_obj->nthreads++;
380 inf_obj->nthreads--;
404 tuple = PyTuple_New (inf_obj->nthreads);
408 for (i = 0, entry = inf_obj->threads; i < inf_obj->nthreads;
881 inf_obj->nthreads = 0;

Completed in 145 milliseconds

1234