Searched refs:threads (Results 1 - 25 of 325) sorted by relevance

1234567891011>>

/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
H A Dsync_parser_test.js35 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 Ddrm_parser_test.js19 var threads = m.getAllThreads();
20 assertEquals(1, threads.length);
22 var vblankThread = threads[0];
H A Dcpufreq_parser_test.js22 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 Dandroid_parser_test.js45 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 Dworkqueue_parser_test.js25 assertEquals(1, m.processes['6880'].threads['6880'].sliceGroup.length);
26 assertEquals(1, m.processes['7269'].threads['7269'].sliceGroup.length);
H A Dexynos_parser_test.js20 var threads = m.getAllThreads();
21 assertEquals(1, threads.length);
23 var gfxFlipThread = threads[0];
H A Dgesture_parser_test.js101 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 Dthread_map.c17 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 Dlinuxthreads_det.stdout.exp1 NPTL or non-Linux POSIX threads implementation detected.
/external/chromium_org/v8/test/cctest/
H A Dtest-condition-variable.cc80 ThreadWithMutexAndConditionVariable threads[kThreadCount]; local
83 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
84 CHECK(!threads[n].running_);
85 CHECK(!threads[n].finished_);
86 threads[n].Start();
88 while (!threads[n].running_) {
89 threads[n].cv_.Wait(&threads[n].mutex_);
94 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
95 CHECK(threads[
154 ThreadWithSharedMutexAndConditionVariable threads[kThreadCount]; local
284 Thread** threads = new Thread*[thread_count]; local
[all...]
/external/chromium-trace/trace-viewer/src/tracing/importer/
H A Dv8_log_importer_test.js19 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 Dprocess_base.js32 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 Dm_threadstate.c47 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 Dtsan_thread.cc50 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 Dpipe_barrier_test.c32 * 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 Dpipe_barrier_test.c32 * 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 Dhardirq.h13 #include <linux/threads.h>
/external/linux-tools-perf/python/
H A Dtwatch.py20 threads = perf.thread_map()
25 evsel.open(cpus = cpus, threads = threads);
26 evlist = perf.evlist(cpus, threads)
/external/skia/tests/
H A DAtomicTest.cpp37 SkThread* threads[SK_ARRAY_COUNT(gAdds)]; local
41 // Start the threads
43 threads[i] = new SkThread(addABunchOfTimes, &gAdds[i]);
44 threads[i]->setProcessorAffinity(gAdds[i].processorAffinity);
45 threads[i]->start();
48 // Now end the threads
50 threads[i]->join();
51 delete threads[i];
H A DTLSTest.cpp35 SkThread* threads[8]; local
36 int N = SK_ARRAY_COUNT(threads);
40 threads[i] = new SkThread(proc);
44 threads[i]->start();
48 threads[i]->join();
52 delete threads[i];
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dtimeline_model.js9 * 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 Dsanitizer_mutex_test.cc105 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 Dtsan_mutex_test.cc99 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 DParallelizer.h47 /** 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 Dthread_local_storage_unittest.cc71 // 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];

Completed in 1355 milliseconds

1234567891011>>