/external/eigen/bench/tensors/ |
contraction_benchmarks_cpu.cc | 7 #define CREATE_THREAD_POOL(threads) \ 8 Eigen::ThreadPool pool(threads); \ 9 Eigen::ThreadPoolDevice device(&pool, threads); 12 // Contractions for number of threads ranging from 1 to 32 15 static void BM_##Contraction##_##D1##x##D2##x##D3(int iters, int Threads) { \ 17 CREATE_THREAD_POOL(Threads); \
|
/external/libvpx/libvpx/test/ |
vpxdec.sh | 86 for threads in 2 3 4 5 6 7 8; do 87 vpxdec "${VP9_FPM_WEBM_FILE}" --summary --noblit --threads=$threads \
|
/external/ltp/lib/newlib_tests/ |
test08.c | 25 #define THREADS 10 31 pthread_barrier_init(&barrier, NULL, THREADS); 40 /* Avoid subsequent threads to enter the cleanup */ 59 pthread_t threads[THREADS]; local 61 for (i = 0; i < THREADS; i++) 62 pthread_create(threads+i, NULL, worker, (void*)i); 64 for (i = 0; i < THREADS; i++) { 66 pthread_join(threads[i], NULL);
|
/external/skia/src/core/ |
SkTaskGroup.cpp | 42 SkTaskGroup::Enabler::Enabler(int threads) { 43 if (threads) { 44 fThreadPool = SkExecutor::MakeThreadPool(threads);
|
/external/valgrind/drd/tests/ |
concurrent_close.cpp | 12 /* Happens with two threads also */ 32 pthread_t threads[THREAD_COUNT]; local 37 r = pthread_create(&threads[i], &attr, thread, 0); 45 r = pthread_join(threads[i], 0);
|
/external/valgrind/none/tests/ |
pth_once.c | 4 * "Using POSIX Threads: Programming with Pthreads" 14 * A program spawns multiple threads and each one tries to 20 * exit of the threads using the pthread_join() operation. 57 pthread_t threads[NUM_THREADS]; local 65 if (( rtn = pthread_create(&threads[thread_num], 76 pthread_join(threads[thread_num], NULL);
|
thread-exits.stdout.exp | 2 creating threads...
|
/art/test/114-ParallelGC/src/ |
Main.java | 38 Thread[] threads = new Thread[THREAD_COUNT]; local 40 // This barrier is used to synchronize the threads starting to allocate. 43 CyclicBarrier startBarrier = new CyclicBarrier(threads.length); 45 for (int i = 0; i < threads.length; i++) { 46 threads[i] = new Thread(new Main(startBarrier)); 47 threads[i].start(); 50 // Wait for the threads to finish. 51 for (Thread thread : threads) {
|
/external/autotest/client/tests/monotonic_time/src/ |
Makefile | 8 SRCS= time_test.c cpuset.c threads.c logging.c 9 HDRS= spinlock.h cpuset.h threads.h logging.h
|
/external/linux-kselftest/tools/testing/selftests/powerpc/math/ |
vmx_signal.c | 32 * worker threads 99 int i, j, rc, threads; local 103 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; 104 tids = malloc(threads * sizeof(pthread_t)); 108 threads_starting = threads; 109 for (i = 0; i < threads; i++) { 115 printf("\tWaiting for %d workers to start... %d", threads, threads_starting); 123 printf("\tSending signals to all threads %d times...", ITERATIONS); 125 for (j = 0; j < threads; j++) { 134 for (i = 0; i < threads; i++) [all...] |
/external/ltp/testcases/open_posix_testsuite/functional/ |
Makefile | 13 @find */ -name 'Makefile*' | grep -v threads/Makefile | xargs rm -f
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_socket_wrapper_unittest.cc | 53 uint8_t threads = 1; local 54 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
SamplingProfiler.java | 89 * The {@code ThreadSet} that identifies which threads to sample. 104 * The threads currently known to the profiler for detecting 110 * Map of currently active threads to their identifiers. When 111 * threads disappear they are removed and only referenced by their 112 * identifiers to prevent retaining garbage threads. 134 * specified depth from the threads specified by the specified 147 * @param threadSet The thread set specifies which threads to 148 * sample. In a general purpose program, all threads typically 177 * A ThreadSet specifies the set of threads to sample. 181 * Returns an array containing the threads to be sampled. Th 185 public Thread[] threads(); method in interface:SamplingProfiler.ThreadSet 204 private final Thread[] threads; field in class:SamplingProfiler.ArrayThreadSet 211 public Thread[] threads() { method in class:SamplingProfiler.ArrayThreadSet 231 private Thread[] threads; field in class:SamplingProfiler.ThreadGroupThreadSet 252 public Thread[] threads() { method in class:SamplingProfiler.ThreadGroupThreadSet [all...] |
/system/extras/libfec/ |
fec_process.cpp | 42 /* launches a maximum number of threads to process a read */ 54 int threads = sysconf(_SC_NPROCESSORS_ONLN); local 56 if (threads < WORK_MIN_THREADS) { 57 threads = WORK_MIN_THREADS; 58 } else if (threads > WORK_MAX_THREADS) { 59 threads = WORK_MAX_THREADS; 65 size_t count_per_thread = fec_div_round_up(blocks, threads) * FEC_BLOCKSIZE; 68 if ((size_t)threads > max_threads) { 69 threads = (int)max_threads; 76 debug("%d threads, %zu bytes per thread (total %zu)", threads [all...] |
/development/ndk/platforms/android-9/arch-arm/include/asm/ |
hardirq.h | 16 #include <linux/threads.h>
|
smp.h | 15 #include <linux/threads.h>
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
hardirq_32.h | 21 #include <linux/threads.h>
|
smp_32.h | 24 #include <linux/threads.h>
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
ProcessInfo.java | 36 * The threads in the process 38 public HashMap<Integer,ThreadInfo> threads = new HashMap<Integer,ThreadInfo>(); field in class:ProcessInfo
|
/device/generic/goldfish/camera/ |
JpegCompressor.h | 26 #include <utils/threads.h>
|
/external/gemmlowp/test/ |
test_blocking_counter.cc | 64 std::vector<Thread*> threads; local 67 threads.push_back(new Thread(blocking_counter, num_decrements_per_thread)); 73 if (threads[i]->Join()) { 76 delete threads[i];
|
/frameworks/av/include/private/media/ |
AudioEffectShared.h | 23 #include <utils/threads.h>
|
/frameworks/av/services/mediaanalytics/ |
MetricsSummarizerCodec.cpp | 21 #include <utils/threads.h>
|
MetricsSummarizerCodec.h | 21 #include <utils/threads.h>
|
MetricsSummarizerExtractor.cpp | 20 #include <utils/threads.h>
|