/external/elfutils/tests/ |
dwfl-proc-attach.c | 66 int *threads = (int *) thread_arg; local 69 (*threads)++; 78 /* Create two extra threads to iterate through. */ 95 /* Did we see all 3 threads? */ 96 int threads = 0; local 97 if (dwfl_getthreads (dwfl, thread_callback, &threads) != DWARF_CB_OK) 100 return (threads == 3) ? 0 : -1;
|
/external/skia/tests/ |
AtomicTest.cpp | 35 SkThread* threads[SK_ARRAY_COUNT(gAdds)]; local 39 // Start the threads 41 threads[i] = new SkThread(addABunchOfTimes, &gAdds[i]); 42 threads[i]->start(); 45 // Now end the threads 47 threads[i]->join(); 48 delete threads[i];
|
/external/valgrind/none/tests/ |
pth_cvsimple.c | 4 * "Using POSIX Threads: Programming with Pthreads" 65 pthread_t threads[3]; local 67 pthread_create(&threads[0], NULL, watch_count, NULL); 69 pthread_create(&threads[1], NULL, inc_count, NULL); 70 pthread_create(&threads[2], NULL, inc_count, NULL); 73 pthread_join(threads[i], NULL); 77 // inc_count threads could fully run before watch_count begins, and so
|
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...
|
/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/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);
|
/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/kernbench/ |
kernbench.py | 45 def warmup(self, threads=None, version=None): 46 if threads: 47 self.threads = threads 49 self.threads = self.job.cpu_count()*2 55 self.kernel.build_timed(self.threads, output=logfile) # warmup run 63 " %d threads" % (self.iteration, self.threads)) 69 self.kernel.build_timed(self.threads, self.timefile)
|
/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/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...] |
/development/ndk/platforms/android-3/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>
|
/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];
|
/external/skia/src/core/ |
SkTaskGroup.h | 21 explicit Enabler(int threads = -1); // Default is system-reported core count.
|
/frameworks/av/include/private/media/ |
AudioEffectShared.h | 23 #include <utils/threads.h>
|
/frameworks/av/services/mediadrm/ |
MediaDrmService.h | 23 #include <utils/threads.h>
|
/frameworks/base/core/jni/ |
android_view_KeyEvent.h | 22 #include <utils/threads.h>
|
/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);
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
SimpleThread.h | 20 #include <utils/threads.h>
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
SimpleThread.h | 20 #include <utils/threads.h>
|