Searched refs:threads (Results 1 - 25 of 414) 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 Dirq_parser_test.js25 var threads = m.getAllThreads();
26 assertEquals(2, threads.length);
28 var threads = m.findAllThreadsNamed('irqs cpu 1');
29 assertEquals(1, threads.length);
30 assertEquals(1, threads[0].sliceGroup.length);
32 var threads = m.findAllThreadsNamed('softirq cpu 0');
33 assertEquals(1, threads.length);
34 assertEquals(1, threads[0].sliceGroup.length);
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 Dmemreclaim_parser_test.js26 assertEquals(1, m.processes['1155'].threads['1155'].sliceGroup.length);
27 assertEquals(1, m.processes['33'].threads['33'].sliceGroup.length);
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];
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dthread_map.c24 struct thread_map *threads; local
35 threads = malloc(sizeof(*threads) + sizeof(pid_t) * items);
36 if (threads != NULL) {
38 threads->map[i] = atoi(namelist[i]->d_name);
39 threads->nr = items;
46 return threads;
51 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); local
53 if (threads !
67 struct thread_map *threads = malloc(sizeof(*threads) + local
159 struct thread_map *threads = NULL, *nt; local
220 struct thread_map *threads = NULL, *nt; local
282 thread_map__delete(struct thread_map *threads) argument
287 thread_map__fprintf(struct thread_map *threads, FILE *fp) argument
[all...]
H A Dthread_map.h20 void thread_map__delete(struct thread_map *threads);
22 size_t thread_map__fprintf(struct thread_map *threads, FILE *fp);
24 static inline int thread_map__nr(struct thread_map *threads) argument
26 return threads ? threads->nr : 1;
/external/valgrind/main/drd/tests/
H A Dlinuxthreads_det.stdout.exp1 NPTL or non-Linux POSIX threads implementation detected.
/external/chromium_org/v8/src/base/platform/
H A Dcondition-variable-unittest.cc62 ThreadWithMutexAndConditionVariable threads[kThreadCount]; local
65 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
66 EXPECT_FALSE(threads[n].running_);
67 EXPECT_FALSE(threads[n].finished_);
68 threads[n].Start();
70 while (!threads[n].running_) {
71 threads[n].cv_.Wait(&threads[n].mutex_);
76 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
77 EXPECT_TRUE(threads[
143 ThreadWithSharedMutexAndConditionVariable threads[kThreadCount]; local
278 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_org/third_party/webrtc/test/channel_transport/
H A Dudp_socket_manager_unittest.cc28 uint8_t threads = 1; local
29 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
31 EXPECT_FALSE(mgr->Init(id, threads))
40 uint8_t threads = 1; local
41 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
65 uint8_t threads = 1;
66 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
/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/libcxx/test/thread/thread.threads/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/thread.threads/Android.mk
19 test_name := thread/thread.threads/version
/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),
95 vg_assert(VG_(threads)[tid].tid == tid);
96 return &VG_(threads)[tid];
104 if (VG_(threads)[tid].status == VgTs_Empty) return False;
128 return VG_(threads)[tid].exitreason != VgSrc_None;
138 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/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dopen-syscall.c11 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); local
13 if (threads == NULL) {
24 if (perf_evsel__open_per_thread(evsel, threads) < 0) {
49 perf_evsel__close_fd(evsel, 1, threads->nr);
53 thread_map__delete(threads);
/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/linux-tools-perf/perf-3.12.0/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
H A DThreadOnlyModifierDebuggee.java83 logWriter.println("Create threads");
84 Thread[] threads = new Thread[10];
85 for (int i = 0; i < threads.length; ++i) {
86 threads[i] = new Thread(new TestThread(obj));
87 threads[i].setName("TestThread#" + i);
91 THREAD_ONLY = threads[threads.length - 1];
100 // Run all threads.
101 for (int i = 0; i < threads.length; ++i) {
102 runThread(threads[
[all...]
/external/chromium_org/third_party/binutils/
H A Dbuild-one.sh17 ./configure --enable-gold=default --enable-threads --enable-plugins \
/external/libcxx/test/thread/thread.threads/thread.thread.class/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/thread.threads/thread.thread.class/Android.mk
19 test_name := thread/thread.threads/thread.thread.class/types

Completed in 443 milliseconds

1234567891011>>