HomeSort by: relevance | last modified time | path
    Searched defs:nthreads (Results 1 - 25 of 56) sorted by relevancy

1 2 3

  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
schedlock-thread-exit.c 30 const int nthreads = 10; local
31 pthread_t threads[nthreads];
33 for (int i = 0; i < nthreads; ++i)
39 for (int i = 0; i < nthreads; ++i)
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
schedlock-thread-exit.c 30 const int nthreads = 10; local
31 pthread_t threads[nthreads];
33 for (int i = 0; i < nthreads; ++i)
39 for (int i = 0; i < nthreads; ++i)
  /src/sys/arch/mips/rmi/
rmixl_cpucore.c 89 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;
  /src/external/gpl3/gcc/dist/libgomp/
sections.c 52 long nthreads = team ? team->nthreads : 1; local
54 ws->mode = ((nthreads | ws->end)
iter.c 44 unsigned long nthreads = team ? team->nthreads : 1; local
50 if (nthreads == 1)
77 q = n / nthreads;
78 t = n % nthreads;
116 /* Initial guess is a C sized chunk positioned nthreads iterations
118 s0 = (thr->ts.static_trip * nthreads + i) * c;
266 unsigned long nthreads = team ? team->nthreads : 1; local
275 q = (n + nthreads - 1) / nthreads
300 unsigned long nthreads = team ? team->nthreads : 1; local
    [all...]
iter_ull.c 45 unsigned long nthreads = team ? team->nthreads : 1; local
51 if (nthreads == 1)
78 q = n / nthreads;
79 t = n % nthreads;
118 /* Initial guess is a C sized chunk positioned nthreads iterations
120 s0 = (thr->ts.static_trip * (gomp_ull) nthreads + i) * c;
267 gomp_ull nthreads = team ? team->nthreads : 1; local
279 q = (n + nthreads - 1) / nthreads
304 gomp_ull nthreads = team ? team->nthreads : 1; local
    [all...]
parallel.c 145 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;
  /src/external/gpl3/gcc.old/dist/libgomp/
sections.c 52 long nthreads = team ? team->nthreads : 1; local
54 ws->mode = ((nthreads | ws->end)
iter.c 44 unsigned long nthreads = team ? team->nthreads : 1; local
50 if (nthreads == 1)
77 q = n / nthreads;
78 t = n % nthreads;
116 /* Initial guess is a C sized chunk positioned nthreads iterations
118 s0 = (thr->ts.static_trip * nthreads + i) * c;
266 unsigned long nthreads = team ? team->nthreads : 1; local
275 q = (n + nthreads - 1) / nthreads
300 unsigned long nthreads = team ? team->nthreads : 1; local
    [all...]
iter_ull.c 45 unsigned long nthreads = team ? team->nthreads : 1; local
51 if (nthreads == 1)
78 q = n / nthreads;
79 t = n % nthreads;
118 /* Initial guess is a C sized chunk positioned nthreads iterations
120 s0 = (thr->ts.static_trip * (gomp_ull) nthreads + i) * c;
267 gomp_ull nthreads = team ? team->nthreads : 1; local
279 q = (n + nthreads - 1) / nthreads
304 gomp_ull nthreads = team ? team->nthreads : 1; local
    [all...]
parallel.c 145 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;
  /src/external/mit/libuv/dist/test/
benchmark-async.c 35 unsigned int nthreads; member in struct:ctx
75 static int test_async(int nthreads) {
81 threads = calloc(nthreads, sizeof(threads[0]));
84 for (i = 0; i < nthreads; i++) {
86 ctx->nthreads = nthreads;
99 for (i = 0; i < nthreads; i++)
104 for (i = 0; i < nthreads; i++) {
113 nthreads,
  /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/
arena_structs.h 34 atomic_u_t nthreads[2]; member in struct:arena_s
arena_structs_b.h 91 atomic_u_t nthreads[2]; member in struct:arena_s
  /src/external/bsd/jemalloc.old/include/jemalloc/internal/
arena_structs.h 34 atomic_u_t nthreads[2]; member in struct:arena_s
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
arena_structs.h 35 atomic_u_t nthreads[2]; member in struct:arena_s
  /src/external/bsd/jemalloc/include/jemalloc/internal/
arena_structs.h 35 atomic_u_t nthreads[2]; member in struct:arena_s
arena_structs_b.h 91 atomic_u_t nthreads[2]; member in struct:arena_s
  /src/regress/sys/kern/allocfree/
allocfree.c 50 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));
  /src/tests/lib/libpthread/
h_resolv.c 46 #define NTHREADS 10
67 "Usage: %s [-d] [-h <nhosts>] [-n <nthreads>] <file> ...\n",
145 int nthreads = NTHREADS; local
162 nthreads = atoi(optarg);
174 if ((nleft = malloc(nthreads * sizeof(int))) == NULL)
180 if ((threads = malloc(nthreads * sizeof(pthread_t))) == NULL)
184 for (i = 0; i < nthreads; i++) {
191 for (i = 0; i < nthreads; i++) {
207 for (i = 0; i < nthreads; i++
    [all...]
  /src/usr.sbin/npf/npftest/
npftest.c 199 unsigned nthreads = 0; local
247 if ((nthreads = atoi(optarg)) > 0 &&
250 sprintf(nthr, "%u", nthreads + 1);
267 if (benchmark && (!config || !nthreads)) {
363 rumpns_npf_test_conc(false, nthreads);
366 rumpns_npf_test_conc(true, nthreads);
  /src/external/cddl/osnet/dist/lib/libzpool/common/
taskq.c 229 taskq_create(const char *name, int nthreads, pri_t pri,
237 ASSERT3S(nthreads, >=, 0);
238 ASSERT3S(nthreads, <=, 100);
239 pct = MIN(nthreads, 100);
242 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100;
243 nthreads = MAX(nthreads, 1); /* need at least 1 thread */
245 ASSERT3S(nthreads, >=, 1);
255 tq->tq_active = nthreads;
256 tq->tq_nthreads = nthreads;
281 int nthreads = tq->tq_nthreads; local
    [all...]
  /src/external/bsd/jemalloc.old/dist/test/unit/
retained.c 112 unsigned nthreads = ncpus * 2; local
113 if (LG_SIZEOF_PTR < 3 && nthreads > 16) {
114 nthreads = 16; /* 32-bit platform could run out of vaddr. */
116 VARIABLE_ARRAY(thd_t, threads, nthreads);
117 for (unsigned i = 0; i < nthreads; i++) {
127 while (atomic_load_u(&nfinished, ATOMIC_ACQUIRE) < nthreads) {
138 size_t allocated = (esz - guard_sz) * nthreads *
176 for (unsigned i = 0; i < nthreads; i++) {
  /src/external/bsd/jemalloc/dist/test/unit/
ncached_max.c 253 /* TODO: change nthreads to 8 to reduce CI loads. */
254 unsigned nthreads = 108; local
255 VARIABLE_ARRAY(thd_t, threads, nthreads);
256 for (unsigned i = 0; i < nthreads; i++) {
259 for (unsigned i = 0; i < nthreads; i++) {
retained.c 113 unsigned nthreads = ncpus * 2; local
114 if (nthreads > 16) {
122 nthreads = 16;
124 VARIABLE_ARRAY(thd_t, threads, nthreads);
125 for (unsigned i = 0; i < nthreads; i++) {
135 while (atomic_load_u(&nfinished, ATOMIC_ACQUIRE) < nthreads) {
146 size_t allocated = (esz - guard_sz) * nthreads
182 for (unsigned i = 0; i < nthreads; i++) {

Completed in 51 milliseconds

1 2 3