Home
last modified time | relevance | path

Searched refs:THREADS (Results 1 – 21 of 21) sorted by relevance

/external/eigen/bench/tensors/
Dtensor_benchmarks_cpu.cc12 #define BM_FuncCPU(FUNC, THREADS) \ argument
13 static void BM_##FUNC##_##THREADS##T(int iters, int N) { \
15 CREATE_THREAD_POOL(THREADS); \
19 BENCHMARK_RANGE(BM_##FUNC##_##THREADS##T, 10, 5000);
83 #define BM_FuncWithInputDimsCPU(FUNC, D1, D2, D3, THREADS) \ argument
84 static void BM_##FUNC##_##D1##x##D2##x##D3##_##THREADS##T(int iters, int N) { \
86 if (THREADS == 1) { \
91 CREATE_THREAD_POOL(THREADS); \
96 BENCHMARK_RANGE(BM_##FUNC##_##D1##x##D2##x##D3##_##THREADS##T, 10, 5000);
137 #define BM_FuncWithKernelDimsCPU(FUNC, DIM1, DIM2, THREADS) \ argument
[all …]
/external/ltp/lib/newlib_tests/
Dtest09.c23 #define THREADS 64 macro
42 pthread_t threads[THREADS]; in do_test()
44 for (i = 0; i < THREADS; i++) in do_test()
47 for (i = 0; i < THREADS; i++) { in do_test()
52 if (atomic == THREADS * ITERATIONS) in do_test()
Dtest08.c25 #define THREADS 10 macro
31 pthread_barrier_init(&barrier, NULL, THREADS); in setup()
61 pthread_t threads[THREADS]; in do_test()
63 for (i = 0; i < THREADS; i++) in do_test()
66 for (i = 0; i < THREADS; i++) { in do_test()
/external/valgrind/drd/tests/
Dannotate_sem.c16 #define THREADS 10 macro
79 pthread_t tid[THREADS]; in main()
83 for (i = 0; i < THREADS; i++) in main()
86 for (i = 0; i < THREADS; i++) in main()
89 assert(s_counter == THREADS * ITERATIONS); in main()
Dcircular_buffer.c180 #define THREADS (10) macro
184 pthread_t producers[THREADS]; in main()
185 pthread_t consumers[THREADS]; in main()
186 int thread_arg[THREADS]; in main()
207 for (i = 0; i < THREADS; ++i) in main()
214 for (i = 0; i < THREADS; ++i) in main()
218 for (i = 0; i < THREADS; ++i) in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/
Ddscr_default_test.c19 static unsigned long result[THREADS];
65 pthread_t threads[THREADS]; in dscr_default()
66 unsigned long i, *status[THREADS]; in dscr_default()
76 for (i = 0; i < THREADS; i++) { in dscr_default()
105 for (i = 0; i < THREADS; i++) { in dscr_default()
Ddscr.h31 #define THREADS 100 /* Max threads */ macro
/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_threads.c53 #define THREADS 10 /* FIXME should be 500 instead of 10 */ macro
139 int pth[THREADS]; in main()
140 pthread_t thread[THREADS]; in main()
173 for (cnt = 0; cnt < THREADS; cnt++) { in main()
183 for (cnt = 0; cnt < THREADS ; cnt++) { in main()
/external/icu/icu4j/perf-tests/
Ddecimalformatperf.pl33 my $THREADS; # number of threads (input from command-line args)
52 $THREADS = $arg;
61 my $threads = ($THREADS > 1) ? "($THREADS threads)" : "";
279 …sspath classes $TESTCLASS $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
Ddateformatperf.pl37 my $THREADS; # number of threads (input from command-line args)
56 $THREADS = $arg;
65 my $threads = ($THREADS > 1) ? "($THREADS threads)" : "";
284 …sspath classes $TESTCLASS $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
Dperftests.pl42 my $THREADS; # number of threads (input from command-line args)
60 $THREADS = $arg;
385 …ath $CLASSPATH $testclass $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
/external/libxml2/os400/dlfcn/
Ddlfcn.c64 #define THREADS 000002 /* Multithreaded job. */ macro
120 if (dlflags & THREADS) in dlterm()
151 dlflags &= ~THREADS; in dlinit()
154 dlflags |= THREADS; in dlinit()
160 if (dlflags & THREADS) in dlinit()
206 if (!(dlflags & THREADS)) in dllock()
234 if (!(dlflags & THREADS)) in dlunlock()
/external/r8/src/test/examples/sync/
DSync.java14 public static final int THREADS = 10; field in Sync
116 ExecutorService service = Executors.newFixedThreadPool(THREADS); in main()
/external/toybox/toys/other/
Dbzcat.c44 #define THREADS 1 macro
105 struct bwdata bwdata[THREADS];
634 bd->dbufSize = 100000*(i-'0')*THREADS; in start_bunzip()
635 for (i=0; i<THREADS; i++) in start_bunzip()
658 for (j=0; j<THREADS; j++) free(bd->bwdata[j].dbuf); in bunzipStream()
/external/curl/tests/libtest/
Dlib586.c25 #define THREADS 2 macro
186 for(i=1; i<=THREADS; i++) { in test()
Dlib506.c27 #define THREADS 2 macro
262 for(i=1; i<=THREADS; i++) { in test()
/external/libvpx/libvpx/test/
Ddecode_perf_test.cc29 #define THREADS 1 macro
76 const unsigned threads = GET_PARAM(THREADS); in TEST_P()
/external/swiftshader/third_party/LLVM/
Dbuild-for-llvm-top.sh49 if test "$THREADS" -eq 1 ; then
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DPerfTest.java343 static final int THREADS = 14; field in PerfTest
505 if (options[THREADS].doesOccur) { in parseOptions()
507 threads = Integer.parseInt(options[THREADS].value); in parseOptions()
/external/eigen/cmake/
DFindScotch.cmake252 # THREADS
DFindPTSCOTCH.cmake298 # THREADS