Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/external/clang/www/timing-data/2009-03-02/
Dsketch.txt31 'threads':"1",
44 'threads':"1",
57 'threads':"1",
70 'threads':"1",
83 'threads':"1",
96 'threads':"1",
109 'threads':"1",
122 'threads':"1",
135 'threads':"1",
148 'threads':"1",
[all …]
D176.gcc.txt31 'threads':"1",
44 'threads':"1",
57 'threads':"1",
70 'threads':"1",
83 'threads':"1",
96 'threads':"1",
109 'threads':"1",
122 'threads':"1",
135 'threads':"1",
148 'threads':"1",
[all …]
/external/linux-tools-perf/util/
Dthread_map.c17 struct thread_map *threads; in thread_map__new_by_pid() local
28 threads = malloc(sizeof(*threads) + sizeof(pid_t) * items); in thread_map__new_by_pid()
29 if (threads != NULL) { in thread_map__new_by_pid()
31 threads->map[i] = atoi(namelist[i]->d_name); in thread_map__new_by_pid()
32 threads->nr = items; in thread_map__new_by_pid()
39 return threads; in thread_map__new_by_pid()
44 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); in thread_map__new_by_tid() local
46 if (threads != NULL) { in thread_map__new_by_tid()
47 threads->map[0] = tid; in thread_map__new_by_tid()
48 threads->nr = 1; in thread_map__new_by_tid()
[all …]
Devlist.c32 struct thread_map *threads) in perf_evlist__init() argument
39 perf_evlist__set_maps(evlist, cpus, threads); in perf_evlist__init()
43 struct thread_map *threads) in perf_evlist__new() argument
48 perf_evlist__init(evlist, cpus, threads); in perf_evlist__new()
103 int nfds = evlist->cpus->nr * evlist->threads->nr * evlist->nr_entries; in perf_evlist__alloc_pollfd()
261 evlist->nr_mmaps = evlist->threads->nr; in perf_evlist__alloc_mmap()
288 for (thread = 0; thread < evlist->threads->nr; thread++) { in perf_evlist__mmap_per_cpu()
326 for (thread = 0; thread < evlist->threads->nr; thread++) { in perf_evlist__mmap_per_thread()
351 for (thread = 0; thread < evlist->threads->nr; thread++) { in perf_evlist__mmap_per_thread()
381 const struct thread_map *threads = evlist->threads; in perf_evlist__mmap() local
[all …]
Devlist.h32 struct thread_map *threads; member
39 struct thread_map *threads);
41 struct thread_map *threads);
64 struct thread_map *threads) in perf_evlist__set_maps() argument
67 evlist->threads = threads; in perf_evlist__set_maps()
Dvalues.c14 values->threads = 0; in perf_read_values_init()
33 for (i = 0; i < values->threads; i++) in perf_read_values_destroy()
61 for (i = 0; i < values->threads; i++) in perf_read_values__findnew_thread()
65 if (values->threads == values->threads_max) in perf_read_values__findnew_thread()
68 i = values->threads++; in perf_read_values__findnew_thread()
90 for (i = 0; i < values->threads; i++) { in perf_read_values__enlarge_counters()
143 for (i = 0; i < values->threads; i++) { in perf_read_values__display_pretty()
164 for (i = 0; i < values->threads; i++) { in perf_read_values__display_pretty()
187 for (i = 0; i < values->threads; i++) { in perf_read_values__display_raw()
203 for (i = 0; i < values->threads; i++) { in perf_read_values__display_raw()
[all …]
Devsel.c204 struct thread_map *threads, bool group) in __perf_evsel__open() argument
213 perf_evsel__alloc_fd(evsel, cpus->nr, threads->nr) < 0) in __perf_evsel__open()
224 for (thread = 0; thread < threads->nr; thread++) { in __perf_evsel__open()
227 pid = threads->map[thread]; in __perf_evsel__open()
249 thread = threads->nr; in __perf_evsel__open()
268 int threads[1]; member
271 .threads = { -1, },
275 struct thread_map *threads, bool group) in perf_evsel__open() argument
282 if (threads == NULL) in perf_evsel__open()
283 threads = &empty_thread_map.map; in perf_evsel__open()
[all …]
/external/clang/www/timing-data/2009-06-26/
Dsketch.txt25 'threads':"8",
38 'threads':"8",
51 'threads':"8",
64 'threads':"8",
77 'threads':"8",
90 'threads':"8",
103 'threads':"8",
116 'threads':"8",
129 'threads':"8",
142 'threads':"8",
[all …]
D176.gcc.txt25 'threads':"8",
38 'threads':"8",
51 'threads':"8",
64 'threads':"8",
77 'threads':"8",
90 'threads':"8",
103 'threads':"8",
116 'threads':"8",
129 'threads':"8",
142 'threads':"8",
[all …]
/external/chromium/chrome/browser/resources/gpu_internals/
Dtimeline_model.js92 this.threads = {};
97 if (!this.threads[tid])
98 this.threads[tid] = new TimelineThread(this, tid);
99 return this.threads[tid];
205 var threads = this.getAllThreads();
206 for (var tI = 0; tI < threads.length; tI++) {
207 var thread = threads[tI];
218 var threads = this.getAllThreads();
219 for (var tI = 0; tI < threads.length; tI++) {
220 var thread = threads[tI];
[all …]
/external/valgrind/main/coregrind/
Dm_threadstate.c43 ThreadState VG_(threads)[VG_N_THREADS];
65 vg_assert(VG_(threads)[tid].tid == tid); in VG_()
66 return &VG_(threads)[tid]; in VG_()
74 if (VG_(threads)[tid].status == VgTs_Empty) return False; in VG_() local
98 return VG_(threads)[tid].exitreason != VgSrc_None; in VG_()
108 if (VG_(threads)[tid].status != VgTs_Empty && in VG_()
109 VG_(threads)[tid].status != VgTs_Zombie) in VG_()
122 if (VG_(threads)[tid].status == VgTs_Runnable) in VG_() local
135 if (VG_(threads)[tid].status != VgTs_Empty in VG_()
136 && VG_(threads)[tid].os_state.lwpid == lwp) in VG_()
Dm_machine.c49 return INSTR_PTR( VG_(threads)[tid].arch ); in VG_()
52 return STACK_PTR( VG_(threads)[tid].arch ); in VG_()
55 return FRAME_PTR( VG_(threads)[tid].arch ); in VG_()
59 INSTR_PTR( VG_(threads)[tid].arch ) = ip; in VG_()
62 STACK_PTR( VG_(threads)[tid].arch ) = sp; in VG_()
69 regs->r_pc = (ULong)VG_(threads)[tid].arch.vex.guest_EIP; in VG_()
70 regs->r_sp = (ULong)VG_(threads)[tid].arch.vex.guest_ESP; in VG_()
72 = VG_(threads)[tid].arch.vex.guest_EBP; in VG_()
74 regs->r_pc = VG_(threads)[tid].arch.vex.guest_RIP; in VG_()
75 regs->r_sp = VG_(threads)[tid].arch.vex.guest_RSP; in VG_()
[all …]
/external/v8/test/cctest/
Dtest-lockers.cc192 static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) { in StartJoinAndDeleteThreads() argument
193 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
194 threads[i]->Start(); in StartJoinAndDeleteThreads()
196 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
197 threads[i]->Join(); in StartJoinAndDeleteThreads()
199 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
200 delete threads[i]; in StartJoinAndDeleteThreads()
212 i::List<JoinableThread*> threads(kNThreads); in TEST() local
215 threads.Add(new IsolateLockingThreadWithLocalContext(isolate)); in TEST()
217 StartJoinAndDeleteThreads(threads); in TEST()
[all …]
/external/valgrind/main/coregrind/m_scheduler/
Dscheduler.c214 if (VG_(threads)[i].status == VgTs_Empty) { in VG_() local
215 VG_(threads)[i].status = VgTs_Init; in VG_() local
216 VG_(threads)[i].exitreason = VgSrc_None; in VG_() local
335 vg_assert(VG_(threads)[tid].exitreason != VgSrc_None); in VG_()
351 if (VG_(threads)[tid].status == VgTs_WaitSys) { in VG_() local
355 tid, VG_(threads)[tid].os_state.lwpid); in VG_()
363 thread_abort(VG_(threads)[tid].os_state.lwpid); in VG_()
368 Int r = VG_(tkill)(VG_(threads)[tid].os_state.lwpid, VG_SIGVGKILL); in VG_()
396 vg_assert(VG_(threads)[tid].os_state.lwpid == VG_(gettid)()); in VG_()
465 VG_(cleanup_thread)(&VG_(threads)[tid].arch); in mostly_clear_thread_record()
[all …]
/external/mesa3d/docs/
DREADME.THREADS10 supported by default (on systems which support threads,
19 1) POSIX threads (aka pthreads).
20 2) Solaris / Unix International threads.
21 3) Win32 threads (Win 95/NT).
27 necessary for both Mesa and application code to use the same threads API.
29 using one of the targets for Sun threads.
32 multiple threads to render to osmesa rendering context(s).
35 threads packages. The best solution is the linuxthreads package
/external/valgrind/main/none/tests/
Dpth_cvsimple.c65 pthread_t threads[3]; in main() local
67 pthread_create(&threads[0], NULL, watch_count, NULL); in main()
69 pthread_create(&threads[1], NULL, inc_count, NULL); in main()
70 pthread_create(&threads[2], NULL, inc_count, NULL); in main()
73 pthread_join(threads[i], NULL); in main()
Dtls.c90 pthread_t threads[NTESTS*2]; in main() local
96 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]); in main()
97 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]); in main()
101 pthread_join(threads[i], NULL); in main()
/external/linux-tools-perf/
Dbuiltin-test.c267 struct thread_map *threads; in test__open_syscall_event() local
278 threads = thread_map__new(-1, getpid()); in test__open_syscall_event()
279 if (threads == NULL) { in test__open_syscall_event()
293 if (perf_evsel__open_per_thread(evsel, threads, false) < 0) { in test__open_syscall_event()
318 perf_evsel__close_fd(evsel, 1, threads->nr); in test__open_syscall_event()
322 thread_map__delete(threads); in test__open_syscall_event()
331 struct thread_map *threads; in test__open_syscall_event_on_all_cpus() local
344 threads = thread_map__new(-1, getpid()); in test__open_syscall_event_on_all_cpus()
345 if (threads == NULL) { in test__open_syscall_event_on_all_cpus()
368 if (perf_evsel__open(evsel, cpus, threads, false) < 0) { in test__open_syscall_event_on_all_cpus()
[all …]
/external/chromium/chrome/browser/net/
Dchrome_net_log_unittest.cc57 ChromeNetLogTestThread threads[kThreads]; in TEST() local
60 threads[i].Init(&log); in TEST()
61 threads[i].Start(); in TEST()
65 threads[i].ReallyStart(); in TEST()
68 threads[i].Join(); in TEST()
/external/chromium/base/threading/
Dthread_local_storage_unittest.cc76 DelegateSimpleThread* threads[kNumThreads]; in TEST() local
84 threads[index] = new DelegateSimpleThread(thread_delegates[index], in TEST()
86 threads[index]->Start(); in TEST()
91 threads[index]->Join(); in TEST()
92 delete threads[index]; in TEST()
/external/valgrind/main/callgrind/tests/
DMakefile.am21 threads.vgtest threads.stderr.exp \
22 threads-use.vgtest threads-use.stderr.exp
24 check_PROGRAMS = clreq simwork threads program
/external/protobuf/src/google/protobuf/stubs/
Donce_unittest.cc209 scoped_ptr<TestThread> threads[4]; in TEST_F() local
212 threads[i].reset(RunInitOnceInNewThread()); in TEST_F()
215 threads[i]->Join(); in TEST_F()
226 scoped_ptr<TestThread> threads[8]; in TEST_F() local
231 threads[i].reset(RunInitOnceInNewThread()); in TEST_F()
234 threads[i].reset(RunInitRecursiveOnceInNewThread()); in TEST_F()
246 threads[i]->Join(); in TEST_F()
/external/qemu/distrib/sdl-1.2.12/src/thread/amigaos/
DSDL_thread.c62 SDL_Thread **threads; in SDL_AddThread() local
83 threads=(SDL_Thread **)SDL_malloc((SDL_maxthreads+ARRAY_CHUNKSIZE)* in SDL_AddThread()
84 (sizeof *threads)); in SDL_AddThread()
85 if ( threads == NULL ) { in SDL_AddThread()
89 SDL_memcpy(threads, SDL_Threads, SDL_numthreads*(sizeof *threads)); in SDL_AddThread()
94 SDL_Threads = threads; in SDL_AddThread()
/external/linux-tools-perf/python/
Dtwatch.py20 threads = perf.thread_map()
25 evsel.open(cpus = cpus, threads = threads);
26 evlist = perf.evlist(cpus, threads)
/external/bluetooth/glib/tests/
Dthread-test.c194 GThread *threads[THREADS]; in test_g_static_private() local
201 threads[i] = g_thread_create (test_g_static_private_thread, in test_g_static_private()
216 g_assert (GPOINTER_TO_INT (g_thread_join (threads[i])) == i * 3); in test_g_static_private()
284 GThread *threads[THREADS]; in test_g_static_rw_lock() local
288 threads[i] = g_thread_create (test_g_static_rw_lock_thread, in test_g_static_rw_lock()
295 g_thread_join (threads[i]); in test_g_static_rw_lock()
347 GThread *threads[G_ONCE_THREADS]; in test_g_thread_once() local
357 threads[i] = g_thread_create (test_g_once_thread, GUINT_TO_POINTER(i%2), in test_g_thread_once()
363 g_thread_join (threads[i]); in test_g_thread_once()

12345678910>>...14