/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
H A D | sync_parser_test.js | 35 var threads = m.getAllThreads(); 36 assertEquals(4, threads.length); 38 var threads = m.findAllThreadsNamed('s3c-fb'); 39 assertEquals(1, threads.length); 40 assertEquals(1, threads[0].sliceGroup.length); 42 var threads = m.findAllThreadsNamed('kworker/u:5'); 43 assertEquals(1, threads.length); 44 assertEquals(1, threads[0].sliceGroup.length); 46 threads[0].sliceGroup.slices[0].title);
|
H A D | drm_parser_test.js | 19 var threads = m.getAllThreads(); 20 assertEquals(1, threads.length); 22 var vblankThread = threads[0];
|
H A D | cpufreq_parser_test.js | 22 var threads = m.getAllThreads(); 23 assertEquals(1, threads.length); 25 var thread = threads[0]; 48 var threads = m.getAllThreads(); 49 assertEquals(1, threads.length); 51 var thread = threads[0]; 72 var threads = m.getAllThreads(); 73 assertEquals(1, threads.length); 75 var thread = threads[0]; 88 var threads [all...] |
H A D | android_parser_test.js | 45 var threads = m.getAllThreads(); 46 assertEquals(1, threads.length); 48 var thread = threads[0]; 63 var threads = m.getAllThreads(); 64 assertEquals(1, threads.length); 66 var thread = threads[0]; 85 var threads = m.getAllThreads(); 86 assertEquals(1, threads.length); 88 var thread = threads[0]; 133 var threads [all...] |
H A D | workqueue_parser_test.js | 25 assertEquals(1, m.processes['6880'].threads['6880'].sliceGroup.length); 26 assertEquals(1, m.processes['7269'].threads['7269'].sliceGroup.length);
|
H A D | exynos_parser_test.js | 20 var threads = m.getAllThreads(); 21 assertEquals(1, threads.length); 23 var gfxFlipThread = threads[0];
|
H A D | gesture_parser_test.js | 101 var threads = m.getAllThreads(); 102 assertEquals(1, threads.length); 104 var gestureThread = threads[0]; 174 var threads = m.getAllThreads(); 175 assertEquals(1, threads.length);
|
/external/linux-tools-perf/util/ |
H A D | thread_map.c | 17 struct thread_map *threads; local 28 threads = malloc(sizeof(*threads) + sizeof(pid_t) * items); 29 if (threads != NULL) { 31 threads->map[i] = atoi(namelist[i]->d_name); 32 threads->nr = items; 39 return threads; 44 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); local 46 if (threads ! 61 thread_map__delete(struct thread_map *threads) argument [all...] |
/external/valgrind/main/drd/tests/ |
H A D | linuxthreads_det.stdout.exp | 1 NPTL or non-Linux POSIX threads implementation detected.
|
/external/chromium-trace/trace-viewer/src/tracing/importer/ |
H A D | v8_log_importer_test.js | 19 var threads = p.findAllThreadsNamed('V8 PC'); 20 var t = threads[0]; 32 var threads = p.findAllThreadsNamed('V8 PC'); 33 var t = threads[0]; 45 var threads = p.findAllThreadsNamed('V8 PC'); 46 var t = threads[0]; 55 var threads = p.findAllThreadsNamed('V8 Timers'); 56 assertNotUndefined(threads); 57 assertEquals(threads.length, 1); 58 var t = threads[ [all...] |
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
H A D | process_base.js | 32 this.threads = {}; 53 * Gets the number of threads in this process. 57 for (var p in this.threads) { 82 for (var tid in this.threads) 83 this.threads[tid].shiftTimestampsForward(amount); 93 for (var tid in this.threads) { 94 var thread = this.threads[tid]; 122 for (var tid in this.threads) { 123 var thread = this.threads[tid]; 130 for (var tid in this.threads) { [all...] |
/external/valgrind/main/coregrind/ |
H A D | m_threadstate.c | 47 ThreadState VG_(threads)[VG_N_THREADS] __attribute__((aligned(16))); 59 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, 60 sizeof(VG_(threads)[tid].status), "")); 62 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, 63 sizeof(VG_(threads)[tid].os_state.exitcode), 84 vg_assert(VG_(threads)[tid].tid == tid); 85 return &VG_(threads)[tid]; 93 if (VG_(threads)[tid].status == VgTs_Empty) return False; 117 return VG_(threads)[tid].exitreason != VgSrc_None; 127 if (VG_(threads)[ti [all...] |
/external/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_thread.cc | 50 pthread_t threads[kAlive] = {}; local 52 if (threads[i % kAlive]) 53 pthread_join(threads[i % kAlive], 0); 54 pthread_create(&threads[i % kAlive], 0, thread_alot_func, 0); 57 pthread_join(threads[i], 0);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
H A D | pipe_barrier_test.c | 32 * The test succeeds if no thread exits before all the other threads reach 45 static pipe_thread threads[NUM_THREADS]; variable 74 threads[i] = pipe_thread_create(thread_function, (void *) &thread_ids[i]); 78 pipe_thread_wait(threads[i]);
|
/external/mesa3d/src/gallium/tests/unit/ |
H A D | pipe_barrier_test.c | 32 * The test succeeds if no thread exits before all the other threads reach 45 static pipe_thread threads[NUM_THREADS]; variable 74 threads[i] = pipe_thread_create(thread_function, (void *) &thread_ids[i]); 78 pipe_thread_wait(threads[i]);
|
/external/kernel-headers/original/asm-mips/ |
H A D | hardirq.h | 13 #include <linux/threads.h>
|
/external/linux-tools-perf/python/ |
H A D | twatch.py | 20 threads = perf.thread_map() 25 evsel.open(cpus = cpus, threads = threads); 26 evlist = perf.evlist(cpus, threads)
|
/external/skia/tests/ |
H A D | AtomicTest.cpp | 36 SkThread* threads[SK_ARRAY_COUNT(gAdds)]; local 40 // Start the threads 42 threads[i] = new SkThread(addABunchOfTimes, &gAdds[i]); 43 threads[i]->setProcessorAffinity(gAdds[i].processorAffinity); 44 threads[i]->start(); 47 // Now end the threads 49 threads[i]->join(); 50 delete threads[i];
|
H A D | TLSTest.cpp | 34 SkThread* threads[8]; local 35 int N = SK_ARRAY_COUNT(threads); 39 threads[i] = new SkThread(proc); 43 threads[i]->start(); 47 threads[i]->join(); 51 delete threads[i];
|
/external/chromium/chrome/browser/resources/gpu_internals/ |
H A D | timeline_model.js | 9 * tokens are converted into a hierarchy of processes, threads, 92 this.threads = {}; 97 if (!this.threads[tid]) 98 this.threads[tid] = new TimelineThread(this, tid); 99 return this.threads[tid]; 127 * the TimelineModel as processes, threads, and slices. 205 var threads = this.getAllThreads(); 206 for (var tI = 0; tI < threads.length; tI++) { 207 var thread = threads[tI]; 218 var threads [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_mutex_test.cc | 105 pthread_t threads[kThreads]; local 107 pthread_create(&threads[i], 0, lock_thread<SpinMutex>, &data); 109 pthread_join(threads[i], 0); 116 pthread_t threads[kThreads]; local 118 pthread_create(&threads[i], 0, try_thread<SpinMutex>, &data); 120 pthread_join(threads[i], 0); 127 pthread_t threads[kThreads]; local 129 pthread_create(&threads[i], 0, lock_thread<BlockingMutex>, &data); 131 pthread_join(threads[i], 0);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
H A D | tsan_mutex_test.cc | 99 pthread_t threads[kThreads]; local 101 pthread_create(&threads[i], 0, write_mutex_thread<Mutex>, &data); 103 pthread_join(threads[i], 0); 109 pthread_t threads[kThreads]; local 111 pthread_create(&threads[i], 0, read_mutex_thread<Mutex>, &data); 113 pthread_join(threads[i], 0); 119 pthread_t threads[kThreads]; local 121 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); 123 pthread_join(threads[i], 0);
|
/external/eigen/Eigen/src/Core/products/ |
H A D | Parallelizer.h | 47 /** Must be call first when calling Eigen from multiple threads */ 56 /** \returns the max number of threads reserved for Eigen 65 /** Sets the max number of threads reserved for Eigen 101 // - the max number of threads we can create is greater than 1 112 // 2- compute the maximal number of threads from the size of the product: 116 // 3 - compute the number of threads we are going to use 117 Index threads = std::min<Index>(nbThreads(), max_threads); 119 if(threads==1) 128 Index blockCols = (cols / threads) & ~Index(0x3); 129 Index blockRows = (rows / threads) [all...] |
/external/chromium/base/threading/ |
H A D | thread_local_storage_unittest.cc | 71 // threads that set the TLS, while the destructor cleans it up. 72 // After the threads finish, verify that the value is cleaned up. 76 DelegateSimpleThread* threads[kNumThreads]; local 80 // Spawn the threads. 84 threads[index] = new DelegateSimpleThread(thread_delegates[index], 86 threads[index]->Start(); 89 // Wait for the threads to finish. 91 threads[index]->Join(); 92 delete threads[index];
|
/external/chromium/chrome/browser/net/ |
H A D | chrome_net_log_unittest.cc | 42 // Only triggered once all threads have been created, to make it much less 57 ChromeNetLogTestThread threads[kThreads]; local 60 threads[i].Init(&log); 61 threads[i].Start(); 65 threads[i].ReallyStart(); 68 threads[i].Join();
|