/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...] |
H A D | evlist.h | 32 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 D | thread_map.h | 14 void thread_map__delete(struct thread_map *threads);
|
H A D | values.h | 7 int threads; member in struct:perf_read_values
|
/external/valgrind/main/drd/tests/ |
H A D | linuxthreads_det.stdout.exp | 1 NPTL or non-Linux POSIX threads implementation detected.
|
/external/valgrind/main/coregrind/ |
H A D | m_threadstate.c | 43 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 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/webkit/Source/WebCore/workers/ |
H A D | SharedWorker.idl | 32 module threads {
|
H A D | SharedWorkerContext.idl | 31 module threads {
|
H A D | AbstractWorker.idl | 31 module threads {
|
/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/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();
|
/external/valgrind/main/none/tests/ |
H A D | pth_cvsimple.c | 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
|
H A D | pth_once.c | 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);
|
H A D | thread-exits.stdout.exp | 2 creating threads...
|
H A D | tls.c | 90 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 D | tc21_pthonce.c | 25 * 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 D | WorkerNavigator.idl | 29 module threads {
|
/external/kernel-headers/original/asm-arm/ |
H A D | hardirq.h | 5 #include <linux/threads.h>
|
/external/v8/test/cctest/ |
H A D | test-lockers.cc | 192 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 D | NotificationCenter.idl | 31 module threads {
|
/external/kernel-headers/original/asm-x86/ |
H A D | hardirq_32.h | 4 #include <linux/threads.h>
|
/external/oprofile/module/x86/ |
H A D | cpu_type.c | 25 * 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) {
|