HomeSort by relevance Sort by last modified time
    Searched full:nthreads (Results 1 - 25 of 149) sorted by null

1 2 3 4 5 6

  /ndk/tests/device/test-openmp/jni/
openmp2.c 8 int nthreads, tid; local
11 #pragma omp parallel default(shared) private(nthreads, tid)
20 nthreads = omp_get_num_threads();
21 printf("Number of threads = %d\n", nthreads);
  /external/jemalloc/test/unit/
mtx.c 3 #define NTHREADS 2
39 thd_t thds[NTHREADS];
44 for (i = 0; i < NTHREADS; i++)
46 for (i = 0; i < NTHREADS; i++)
48 assert_u_eq(arg.x, NTHREADS * NINCRS,
prof_accum.c 3 #define NTHREADS 4
64 thd_t thds[NTHREADS];
65 unsigned thd_args[NTHREADS];
76 for (i = 0; i < NTHREADS; i++) {
80 for (i = 0; i < NTHREADS; i++)
prof_thread_name.c 77 #define NTHREADS 4
105 thd_t thds[NTHREADS];
106 unsigned thd_args[NTHREADS];
111 for (i = 0; i < NTHREADS; i++) {
115 for (i = 0; i < NTHREADS; i++)
119 #undef NTHREADS
prof_reset.c 145 #define NTHREADS 4
198 thd_t thds[NTHREADS];
199 unsigned thd_args[NTHREADS];
215 for (i = 0; i < NTHREADS; i++) {
219 for (i = 0; i < NTHREADS; i++)
232 #undef NTHREADS
  /external/valgrind/memcheck/tests/
err_disable4.c 73 #define NTHREADS 498 // VG_N_THREADS - 2
78 pthread_t child[NTHREADS];
86 NTHREADS);
100 for (i = 0; i < NTHREADS; i++) {
106 for (i = 0; i < NTHREADS; i++) {
115 for (i = 0; i < NTHREADS; i++) {
123 NTHREADS);
127 for (i = 0; i < NTHREADS; i++) {
133 for (i = 0; i < NTHREADS; i++) {
142 for (i = 0; i < NTHREADS; i++)
    [all...]
  /external/jemalloc/test/integration/
MALLOCX_ARENA.c 3 #define NTHREADS 10
50 thd_t thds[NTHREADS];
53 for (i = 0; i < NTHREADS; i++) {
58 for (i = 0; i < NTHREADS; i++)
thread_arena.c 3 #define NTHREADS 10
46 thd_t thds[NTHREADS];
60 for (i = 0; i < NTHREADS; i++) {
65 for (i = 0; i < NTHREADS; i++) {
  /external/autotest/client/tests/monotonic_time/src/
threads.c 83 * Create nthreads threads.
86 int create_threads(int nthreads, thread_func_t func, void *arg)
88 if (nthreads > MAX_THREADS)
89 nthreads = MAX_THREADS;
91 while (--nthreads >= 0) {
time_test.c 235 int nthreads; local
257 nthreads = create_per_cpu_threads(cpus, test_loop, test);
258 if (nthreads != ncpus) {
260 ncpus, nthreads);
261 if (nthreads) {
  /external/opencv3/modules/cudaobjdetect/src/cuda/
hog.cu 261 template <int nthreads, // Number of threads which process one block historgam
274 __shared__ float sh_squares[nthreads * nblocks];
275 float* squares = sh_squares + threadIdx.z * nthreads;
281 float sum = reduce_smem<nthreads>(squares, elem * elem);
286 sum = reduce_smem<nthreads>(squares, elem * elem);
301 int nthreads = power_2up(block_hist_size);
302 dim3 threads(nthreads, 1, nblocks);
308 if (nthreads == 32)
310 else if (nthreads == 64)
312 else if (nthreads == 128
    [all...]
  /external/compiler-rt/test/asan/TestCases/Posix/
halt_on_error-torture.cc 29 size_t nthreads = 10; variable
57 fprintf(stderr, "Syntax: %s nthreads niter\n", argv[0]);
61 nthreads = (size_t)strtoul(argv[1], 0, 0);
64 pthread_t *tids = new pthread_t[nthreads];
66 for (size_t i = 0; i < nthreads; ++i) {
73 for (size_t i = 0; i < nthreads; ++i) {
  /external/libunwind/tests/
Gtest-concurrent.c 40 #define NTHREADS 128
86 pthread_t th[NTHREADS];
93 for (i = 0; i < NTHREADS; ++i)
98 NTHREADS, i);
102 for (i = 0; i < NTHREADS; ++i)
  /external/fio/profiles/
tiobench.c 8 static unsigned int nthreads = 1; variable
29 unsigned int nthreads; member in struct:tiobench_options
77 .off1 = offsetof(struct tiobench_options, nthreads),
109 sprintf(t_idx, "numjobs=%u", nthreads);
  /libcore/jsr166-tests/src/test/java/jsr166/
DoubleAdderTest.java 138 final int nthreads = 4; local
141 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1);
142 for (int i = 0; i < nthreads; ++i)
146 double total = (long)nthreads * incs;
DoubleAccumulatorTest.java 126 final int nthreads = 4; local
129 Phaser phaser = new Phaser(nthreads + 1);
130 for (int i = 0; i < nthreads; ++i)
LongAccumulatorTest.java 126 final int nthreads = 4; local
129 Phaser phaser = new Phaser(nthreads + 1);
130 for (int i = 0; i < nthreads; ++i)
LongAdderTest.java 161 final int nthreads = 4; local
164 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1);
165 for (int i = 0; i < nthreads; ++i)
169 long total = (long)nthreads * incs;
  /external/opencv3/modules/cudalegacy/src/cuda/
NCVAlg.hpp 110 template<typename Tdata, class Tfunc, Ncv32u nThreads>
115 __shared__ Tdata _reduceArr[nThreads];
120 if (nThreads >= 256 && threadIdx.x < 128)
126 if (nThreads >= 128 && threadIdx.x < 64)
134 if (nThreads >= 64)
138 if (nThreads >= 32 && threadIdx.x < 16)
  /libcore/ojluni/src/main/java/sun/nio/ch/
ThreadPool.java 114 static ThreadPool create(int nThreads, ThreadFactory factory) {
115 if (nThreads <= 0)
116 throw new IllegalArgumentException("'nThreads' must be > 0");
117 ExecutorService executor = Executors.newFixedThreadPool(nThreads, factory);
118 return new ThreadPool(executor, true, nThreads);
  /external/opencv3/modules/objdetect/src/opencl/
objdetect_hog.cl 50 #define NTHREADS 256
254 const int nthreads, const int block_hist_size, const int img_block_width,
271 float sum = reduce_smem(squares, nthreads);
280 sum = reduce_smem(squares, nthreads);
386 __local float products[NTHREADS];
448 for (int i = tid; i < cdescr_size; i += NTHREADS)
456 __local float products[NTHREADS];
522 for (int i = tid; i < cdescr_size; i += NTHREADS)
549 for (int i = tid; i < cdescr_size; i += NTHREADS)
578 __local float sh_row[(NTHREADS + 2) * 3]
    [all...]
  /frameworks/wilhelm/src/
ThreadPool.c 81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads);
93 unsigned nThreads = 0; // number of threads successfully created
154 ++nThreads;
163 ThreadPool_deinit_internal(tp, initialized, nThreads);
167 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads)
173 if (0 < nThreads) {
185 for (i = 0; i < nThreads; ++i) {
  /libcore/ojluni/src/main/java/java/lang/
ThreadGroup.java 72 int nthreads; field in class:ThreadGroup
357 result = nthreads;
443 int nt = nthreads;
649 for (int i = 0 ; i < nthreads ; i++) {
703 for (int i = 0 ; i < nthreads ; i++) {
750 for (int i = 0 ; i < nthreads ; i++) {
785 if (destroyed || (nthreads > 0)) {
798 nthreads = 0;
853 if (nthreads == 0) {
856 if (daemon && (nthreads == 0) &
    [all...]
  /external/jemalloc/include/jemalloc/internal/
ctl.h 35 unsigned nthreads; member in struct:ctl_arena_stats_s
  /external/guava/guava-tests/test/com/google/common/collect/
ConcurrentHashMultisetBasherTest.java 66 int nThreads = 20;
68 int nTasks = nThreads * tasksPerThread;
69 ExecutorService pool = Executors.newFixedThreadPool(nThreads);

Completed in 642 milliseconds

1 2 3 4 5 6