HomeSort by relevance Sort by last modified time
    Searched refs:THREADS (Results 1 - 25 of 32) sorted by null

1 2

  /prebuilts/go/darwin-x86/test/bench/shootout/
threadring.c 49 #define THREADS (503)
57 static pthread_mutex_t mutex[THREADS];
58 static int data[THREADS];
59 static struct stack stacks[THREADS];
66 int r = (l+1) % THREADS;
97 for (i = 0; i < THREADS; i++) {
  /prebuilts/go/linux-x86/test/bench/shootout/
threadring.c 49 #define THREADS (503)
57 static pthread_mutex_t mutex[THREADS];
58 static int data[THREADS];
59 static struct stack stacks[THREADS];
66 int r = (l+1) % THREADS;
97 for (i = 0; i < THREADS; i++) {
  /external/mesa3d/src/mapi/mapi/
u_current.c 115 #ifdef THREADS
119 #endif /* THREADS */
128 #if defined(THREADS) && defined(WIN32)
135 #if defined(THREADS) && !defined(GLX_USE_TLS)
151 * in order to test if multiple threads are being used.
200 #elif defined(THREADS)
218 #elif defined(THREADS)
244 #elif defined(THREADS)
260 #elif defined(THREADS)
u_thread.h 50 #include <pthread.h> /* POSIX threads headers */
57 #ifndef THREADS
58 #define THREADS
83 * POSIX threads. This should be your choice in the Unix world
84 * whenever possible. When building with POSIX threads, be sure
152 * Windows threads. Should work with Windows NT and 95.
153 * IMPORTANT: Link with multithreaded runtime library when THREADS are
232 * THREADS not defined
234 #ifndef THREADS
280 #endif /* THREADS */
    [all...]
  /external/valgrind/drd/tests/
annotate_sem.c 16 #define THREADS 10
79 pthread_t tid[THREADS];
83 for (i = 0; i < THREADS; i++)
86 for (i = 0; i < THREADS; i++)
89 assert(s_counter == THREADS * ITERATIONS);
circular_buffer.c 180 #define THREADS (10)
184 pthread_t producers[THREADS];
185 pthread_t consumers[THREADS];
186 int thread_arg[THREADS];
207 for (i = 0; i < THREADS; ++i)
214 for (i = 0; i < THREADS; ++i)
218 for (i = 0; i < THREADS; ++i)
  /dalvik/dx/tests/131-perf/
run 31 THREADS="--num-threads=5"
42 # Limit HW threads
75 $TASKSET dx -JXmx$MEM -JXms$MEM $GC --dex $EXTRA --no-optimize $MULTIDEX $THREADS --output=out x.jar
  /external/mesa3d/src/mapi/glapi/
glapi_priv.h 89 # elif defined(THREADS)
glapi.h 105 # ifdef THREADS
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
decode_perf_test.cc 25 #define THREADS 1
30 DecodePerfTest takes a tuple of filename + number of threads to decode with
70 const unsigned threads = GET_PARAM(THREADS); local
76 cfg.threads = threads;
95 printf("\t\"threadCount\" : %u,\n", threads);
  /external/icu/icu4j/perf-tests/
dateformatperf.pl 35 my $THREADS; # number of threads (input from command-line args)
51 # run all tests with the specified number of threads from command-line input
52 # (if there is no arguments, use $THREADS = 1)
54 $THREADS = $arg;
63 my $threads = ($THREADS > 1) ? "($THREADS threads)" : "";
64 my $title = "ICU4J Performance Test $threads $date"
    [all...]
decimalformatperf.pl 31 my $THREADS; # number of threads (input from command-line args)
47 # run all tests with the specified number of threads from command-line input
48 # (if there is no arguments, use $THREADS = 1)
50 $THREADS = $arg;
59 my $threads = ($THREADS > 1) ? "($THREADS threads)" : "";
60 my $title = "ICU4J Performance Test $threads $date"
    [all...]
perftests.pl 40 my $THREADS; # number of threads (input from command-line args)
55 # run all tests with the specified number of threads from command-line input
56 # (if there is no arguments, use $THREADS = 1)
58 $THREADS = $arg;
68 #my $threads = ($THREADS > 1) ? "($THREADS threads)" : "";
383 my $cmd = "java -classpath $CLASSPATH $testclass $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
    [all...]
  /external/opencv3/modules/imgproc/src/opencl/
corner.cl 88 #define THREADS 256
110 int dx_startX = gX * (THREADS-ksX+1) - anX + dx_x_off;
112 int dy_startX = gX * (THREADS-ksX+1) - anX + dy_x_off;
114 int dst_startX = gX * (THREADS-ksX+1) + dst_x_off;
118 __local float temp[6][THREADS];
176 if (col < (THREADS - (ksX - 1)))
  /external/curl/tests/libtest/
lib586.c 25 #define THREADS 2
186 for(i=1; i<=THREADS; i++) {
lib506.c 27 #define THREADS 2
262 for(i=1; i<=THREADS; i++) {
  /external/libxml2/os400/dlfcn/
dlfcn.c 64 #define THREADS 000002 /* Multithreaded job. */
120 if (dlflags & THREADS)
151 dlflags &= ~THREADS;
154 dlflags |= THREADS;
160 if (dlflags & THREADS)
206 if (!(dlflags & THREADS))
234 if (!(dlflags & THREADS))
  /external/libvpx/libvpx/test/
decode_perf_test.cc 29 #define THREADS 1
36 DecodePerfTest takes a tuple of filename + number of threads to decode with
78 const unsigned threads = GET_PARAM(THREADS); local
84 cfg.threads = threads;
104 printf("\t\"threadCount\" : %u,\n", threads);
237 const uint32_t threads = 4; local
243 cfg.threads = threads;
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
PhaserTest.java 309 List<Thread> threads = new ArrayList<Thread>(); local
312 threads.add(newStartedThread(new CheckedRunnable() {
318 for (Thread thread : threads)
627 List<Thread> threads = new ArrayList<Thread>();
629 threads.add(newStartedThread(new CheckedRunnable() {
639 for (Thread thread : threads)
651 List<Thread> threads = new ArrayList<Thread>();
655 threads.add(newStartedThread(new CheckedRunnable() {
670 for (Thread thread : threads)
727 final List<Thread> threads = new ArrayList<Thread>()
    [all...]
ScheduledExecutorSubclassTest.java 455 * multiple threads active
458 final int THREADS = 3;
460 final ThreadPoolExecutor p = new CustomExecutor(THREADS);
462 final CountDownLatch threadsStarted = new CountDownLatch(THREADS);
464 for (int i = 0; i < THREADS; i++)
469 assertEquals(THREADS, p.getLargestPoolSize());
472 assertEquals(THREADS, p.getLargestPoolSize());
474 assertEquals(THREADS, p.getLargestPoolSize());
478 * getPoolSize increases, but doesn't overestimate, when threads
    [all...]
ScheduledExecutorTest.java 399 * multiple threads active
402 final int THREADS = 3;
403 final ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(THREADS);
404 final CountDownLatch threadsStarted = new CountDownLatch(THREADS);
408 for (int i = 0; i < THREADS; i++)
413 assertEquals(THREADS, p.getLargestPoolSize());
416 assertEquals(THREADS, p.getLargestPoolSize());
418 assertEquals(THREADS, p.getLargestPoolSize());
422 * getPoolSize increases, but doesn't overestimate, when threads
763 // Strategy: Wedge the pool with poolSize "blocker" threads
    [all...]
ThreadPoolExecutorSubclassTest.java 302 * prestartAllCoreThreads starts all corePoolSize threads
479 * multiple threads active
482 final int THREADS = 3;
485 new CustomTPE(THREADS, THREADS,
490 final CountDownLatch threadsStarted = new CountDownLatch(THREADS);
491 for (int i = 0; i < THREADS; i++)
496 assertEquals(THREADS, p.getLargestPoolSize());
499 assertEquals(THREADS, p.getLargestPoolSize());
501 assertEquals(THREADS, p.getLargestPoolSize())
    [all...]
ThreadPoolExecutorTest.java 155 * prestartAllCoreThreads starts all corePoolSize threads
332 * multiple threads active
335 final int THREADS = 3;
338 new ThreadPoolExecutor(THREADS, THREADS,
343 final CountDownLatch threadsStarted = new CountDownLatch(THREADS);
344 for (int i = 0; i < THREADS; i++)
349 assertEquals(THREADS, p.getLargestPoolSize());
352 assertEquals(THREADS, p.getLargestPoolSize());
354 assertEquals(THREADS, p.getLargestPoolSize())
    [all...]
  /external/toybox/toys/other/
bzcat.c 44 #define THREADS 1
105 struct bwdata bwdata[THREADS];
635 bd->dbufSize = 100000*(i-'0')*THREADS;
636 for (i=0; i<THREADS; i++)
656 for (j=0; j<THREADS; j++) free(bd->bwdata[j].dbuf);
  /external/mesa3d/src/glx/
glxcurrent.c 147 #elif defined( THREADS )

Completed in 2282 milliseconds

1 2