| /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/external/gpl3/gcc/dist/libgomp/config/accel/ |
| pool.h | 37 gomp_get_thread_pool (struct gomp_thread *thr, unsigned nthreads)
|
| /src/external/gpl3/gcc.old/dist/libgomp/config/accel/ |
| pool.h | 37 gomp_get_thread_pool (struct gomp_thread *thr, unsigned nthreads)
|
| /src/external/gpl3/gcc.old/dist/libgomp/config/nvptx/ |
| pool.h | 37 gomp_get_thread_pool (struct gomp_thread *thr, unsigned nthreads)
|
| /src/usr.sbin/npf/npftest/libnpftest/ |
| npf_perf_test.c | 55 npf_test_conc(bool st, unsigned nthreads) 66 npackets = kmem_zalloc(sizeof(uint64_t) * nthreads, KM_SLEEP); 67 l = kmem_zalloc(sizeof(lwp_t *) * nthreads, KM_SLEEP); 69 for (unsigned i = 0; i < nthreads; i++) { 82 for (unsigned i = 0; i < nthreads; i++) { 86 kmem_free(npackets, sizeof(uint64_t) * nthreads); 87 kmem_free(l, sizeof(lwp_t *) * nthreads); 89 printf("%u\t%" PRIu64 "\n", nthreads, total / NSECS);
|
| /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,
|
| benchmark-async-pummel.c | 64 static int test_async_pummel(int nthreads) { 70 tids = calloc(nthreads, sizeof(tids[0])); 76 for (i = 0; i < nthreads; i++) 86 for (i = 0; i < nthreads; i++) 90 nthreads,
|
| /src/external/gpl3/gcc/dist/libgomp/config/posix/ |
| pool.h | 37 gomp_get_thread_pool (struct gomp_thread *thr, unsigned nthreads) 47 pool->threads_busy = nthreads;
|
| /src/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
| pool.h | 37 gomp_get_thread_pool (struct gomp_thread *thr, unsigned nthreads) 47 pool->threads_busy = nthreads;
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.btrace/ |
| non-stop.exp | 51 proc gdb_cont_to { threads cmd line nthreads } { 64 for {set i 0} {$i < $nthreads} {incr i} { 73 proc gdb_cont_to_bp_line { line threads nthreads } { 79 $nthreads 82 proc gdb_cont_to_no_history_backward { threads cmd nthreads } { 90 $nthreads 93 proc gdb_cont_to_no_history_forward { threads cmd nthreads } { 101 $nthreads
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.btrace/ |
| non-stop.exp | 51 proc gdb_cont_to { threads cmd line nthreads } { 64 for {set i 0} {$i < $nthreads} {incr i} { 73 proc gdb_cont_to_bp_line { line threads nthreads } { 79 $nthreads 82 proc gdb_cont_to_no_history_backward { threads cmd nthreads } { 90 $nthreads 93 proc gdb_cont_to_no_history_forward { threads cmd nthreads } { 101 $nthreads
|
| /src/external/gpl3/gcc/dist/libgomp/ |
| team.c | 151 get_last_team (unsigned nthreads) 156 struct gomp_thread_pool *pool = gomp_get_thread_pool (thr, nthreads); 158 if (last_team != NULL && last_team->nthreads == nthreads) 170 gomp_new_team (unsigned nthreads) 175 team = get_last_team (nthreads); 182 sizeof (*team) + nthreads * extra); 184 team = team_malloc (sizeof (*team) + nthreads * extra); 190 gomp_barrier_init (&team->barrier, nthreads); 193 team->nthreads = nthreads [all...] |
| 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...] |
| /src/external/gpl3/gcc.old/dist/libgomp/ |
| team.c | 151 get_last_team (unsigned nthreads) 156 struct gomp_thread_pool *pool = gomp_get_thread_pool (thr, nthreads); 158 if (last_team != NULL && last_team->nthreads == nthreads) 170 gomp_new_team (unsigned nthreads) 175 team = get_last_team (nthreads); 182 sizeof (*team) + nthreads * extra); 184 team = team_malloc (sizeof (*team) + nthreads * extra); 190 gomp_barrier_init (&team->barrier, nthreads); 193 team->nthreads = nthreads [all...] |
| 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...] |
| /src/external/mpl/bind/dist/tests/isc/ |
| rwlock_test.c | 255 isc__rwlock_benchmark(isc_thread_t *threads, unsigned int nthreads, 262 expected_counter = ITERS * nthreads * loops * 277 for (size_t i = 0; i < nthreads; i++) { 281 for (size_t i = 0; i < nthreads; i++) { 295 expected_counter, nthreads, 309 for (size_t i = 0; i < nthreads; i++) { 313 for (size_t i = 0; i < nthreads; i++) { 327 expected_counter, nthreads, 337 for (unsigned int nthreads = workers; nthreads > 0; nthreads /= 2) [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.mi/ |
| mi-nsmoribund.exp | 44 set nthreads 10 56 for {set i 0} {$i < $nthreads} {incr i} { 84 for {set i $nthreads} {$i > 1} {incr i -1} {
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/ |
| mi-nsmoribund.exp | 44 set nthreads 10 56 for {set i 0} {$i < $nthreads} {incr i} { 84 for {set i $nthreads} {$i > 1} {incr i -1} {
|
| /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/ |
| 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++) {
|
| /src/external/mit/libuv/dist/src/ |
| threadpool.c | 37 static unsigned int nthreads; variable 46 return (nthreads + 1) / 2; 171 if (nthreads == 0) 179 for (i = 0; i < nthreads; i++) 190 nthreads = 0; 200 nthreads = ARRAY_SIZE(default_threads); 203 nthreads = atoi(val); 204 if (nthreads == 0) 205 nthreads = 1; 206 if (nthreads > MAX_THREADPOOL_SIZE [all...] |
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| arena_structs.h | 34 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
|