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

123456789

/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...]
H A Devlist.h32 struct thread_map *threads; member in struct:perf_evlist
39 struct thread_map *threads);
41 struct thread_map *threads);
64 struct thread_map *threads)
67 evlist->threads = threads;
62 perf_evlist__set_maps(struct perf_evlist *evlist, struct cpu_map *cpus, struct thread_map *threads) argument
H A Dthread_map.h14 void thread_map__delete(struct thread_map *threads);
H A Dvalues.h7 int threads; member in struct:perf_read_values
/external/valgrind/main/drd/tests/
H A Dlinuxthreads_det.stdout.exp1 NPTL or non-Linux POSIX threads implementation detected.
/external/valgrind/main/coregrind/
H A Dm_threadstate.c43 ThreadState VG_(threads)[VG_N_THREADS];
65 vg_assert(VG_(threads)[tid].tid == tid);
66 return &VG_(threads)[tid];
74 if (VG_(threads)[tid].status == VgTs_Empty) return False;
98 return VG_(threads)[tid].exitreason != VgSrc_None;
108 if (VG_(threads)[tid].status != VgTs_Empty &&
109 VG_(threads)[tid].status != VgTs_Zombie)
115 /* Return the number of threads in VgTs_Runnable state */
122 if (VG_(threads)[tid].status == VgTs_Runnable)
135 if (VG_(threads)[ti
[all...]
/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/webkit/Source/WebCore/workers/
H A DSharedWorker.idl32 module threads {
H A DSharedWorkerContext.idl31 module threads {
H A DAbstractWorker.idl31 module threads {
/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/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];
/external/chromium/chrome/browser/net/
H A Dchrome_net_log_unittest.cc42 // 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();
/external/valgrind/main/none/tests/
H A Dpth_cvsimple.c65 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
H A Dpth_once.c14 * 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);
H A Dthread-exits.stdout.exp2 creating threads...
H A Dtls.c90 pthread_t threads[NTESTS*2]; local
96 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]);
97 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]);
101 pthread_join(threads[i], NULL);
/external/valgrind/main/helgrind/tests/
H A Dtc21_pthonce.c25 * A program spawns multiple threads and each one tries to
31 * exit of the threads using the pthread_join() operation.
43 /* With more than 2 threads, the precise error reports vary between
45 simple and just have 2 threads and so just 1 race. */
53 /* This is a hack: delay threads except the first enough so as to
54 ensure threads[0] gets to the pthread_once call first. This is so
80 pthread_t threads[NUM_THREADS]; local
86 r= pthread_create(&threads[i], NULL, child, &id_arg[i]);
91 pthread_join(threads[i], NULL);
/external/webkit/Source/WebCore/page/
H A DWorkerNavigator.idl29 module threads {
/external/kernel-headers/original/asm-arm/
H A Dhardirq.h5 #include <linux/threads.h>
/external/v8/test/cctest/
H A Dtest-lockers.cc192 static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) { argument
193 for (int i = 0; i < threads.length(); i++) {
194 threads[i]->Start();
196 for (int i = 0; i < threads.length(); i++) {
197 threads[i]->Join();
199 for (int i = 0; i < threads.length(); i++) {
200 delete threads[i];
205 // Run many threads all locking on the same isolate
212 i::List<JoinableThread*> threads(kNThreads);
215 threads
[all...]
/external/webkit/Source/WebCore/notifications/
H A DNotificationCenter.idl31 module threads {
/external/kernel-headers/original/asm-x86/
H A Dhardirq_32.h4 #include <linux/threads.h>
/external/oprofile/module/x86/
H A Dcpu_type.c25 * p4_threads - determines the number of logical processor threads in a die
27 * returns number of threads in p4 die (1 for non-HT processors)
35 /* This it a Pentium 4 with HT, find number of threads */
79 int enabled, threads, i;
85 threads = p4_threads();
86 if (threads == 1) return 0;
90 while (i < threads) {

Completed in 1063 milliseconds

123456789