Home
last modified time | relevance | path

Searched refs:thread_ids (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Doverride_threadpool_test.py58 thread_ids = []
61 thread_ids.append(self.evaluate(next_element()))
64 self.assertLen(thread_ids, len(set(thread_ids)))
65 self.assertNotEmpty(thread_ids)
70 self.assertLessEqual(len(thread_ids), num_threads)
/external/mesa3d/src/gallium/tests/unit/
Dpipe_barrier_test.c52 static int thread_ids[NUM_THREADS]; variable
116 thread_ids[i] = i; in main()
117 threads[i] = u_thread_create(thread_function, (void *) &thread_ids[i]); in main()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cc100 pthread_t thread_ids[kThreadCount]; member
120 pthread_create(&callback_argument->thread_ids[this_thread_index + 1], in AdvancedIncrementerThread()
170 pthread_create_result = pthread_create(&argument.thread_ids[0], NULL, in TEST()
188 ASSERT_EQ(0, pthread_join(argument.thread_ids[i], NULL)); in TEST()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cpp99 pthread_t thread_ids[kThreadCount]; member
119 pthread_create(&callback_argument->thread_ids[this_thread_index + 1], in AdvancedIncrementerThread()
169 pthread_create_result = pthread_create(&argument.thread_ids[0], NULL, in TEST()
187 ASSERT_EQ(0, pthread_join(argument.thread_ids[i], NULL)); in TEST()
/external/llvm-project/lldb/test/API/tools/lldb-server/
DTestGdbRemoteThreadsInStopReply.py112 thread_ids = threads_text.split(",")
114 self.assertEquals(len(thread_ids), len(pcs))
118 thread_pcs[int(thread_ids[i], 16)] = pcs[i]
/external/ltp/testcases/network/netstress/
Dnetstress.c121 static pthread_t *thread_ids; variable
464 thread_ids = SAFE_MALLOC(sizeof(pthread_t) * clients_num); in client_init()
485 SAFE_PTHREAD_CREATE(&thread_ids[i], 0, client_fn, NULL); in client_init()
494 pthread_join(thread_ids[i], &res); in client_run()
528 free(thread_ids); in client_cleanup()
/external/llvm-project/lldb/tools/lldb-vscode/
DVSCode.h111 llvm::DenseSet<lldb::tid_t> thread_ids; member
Dlldb-vscode.cpp193 old_thread_ids.swap(g_vsc.thread_ids); in SendThreadStoppedEvent()
231 g_vsc.thread_ids.insert(thread.GetThreadID()); in SendThreadStoppedEvent()
239 auto end = g_vsc.thread_ids.end(); in SendThreadStoppedEvent()
240 auto pos = g_vsc.thread_ids.find(tid); in SendThreadStoppedEvent()
/external/ltp/testcases/kernel/power_management/lib/
Dpm_sched_mc.py196 thread_ids = threads_sibs.split("-")
198 if not thread_ids in siblings_list:
199 siblings_list.append(thread_ids)
/external/llvm-project/polly/lib/External/ppcg/
Dgpu.h388 isl_id_list *thread_ids; member
Dcuda.c400 print_iterators(out, type, kernel->thread_ids, thread_dims); in print_kernel_iterators()
Dgpu.c1131 id = isl_id_list_get_id(kernel->thread_ids, i); in extract_block_size()
1160 isl_id_list_free(kernel->thread_ids); in ppcg_kernel_free()
3064 kernel->block_dim, kernel->thread_ids); in insert_context()
3556 filter = set_schedule_modulo(graft, kernel->thread_ids, in add_copies_group_shared()
3916 kernel->thread_ids = ppcg_scop_generate_names(gen->prog->scop, in gpu_create_kernel()
3918 kernel->thread_filter = set_schedule_modulo(node, kernel->thread_ids, in gpu_create_kernel()
Dgpu_group.c1590 id = isl_id_list_get_id(kernel->thread_ids, i); in compute_privatization()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.cpp1006 ProcessMonitor::GetCurrentThreadIDs(std::vector<lldb::tid_t> &thread_ids) { in GetCurrentThreadIDs() argument
1010 thread_ids.clear(); in GetCurrentThreadIDs()
1022 thread_ids = std::vector<lldb::tid_t>(tids, tids + tdcnt); in GetCurrentThreadIDs()
1024 return thread_ids.size(); in GetCurrentThreadIDs()
DProcessMonitor.h151 size_t GetCurrentThreadIDs(std::vector<lldb::tid_t> &thread_ids);
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationClient.cpp744 std::vector<lldb::tid_t> thread_ids; in GetCurrentProcessID() local
747 size = GetCurrentThreadIDs(thread_ids, sequence_mutex_unavailable); in GetCurrentProcessID()
749 m_curr_pid = thread_ids.front(); in GetCurrentProcessID()
2770 std::vector<lldb::tid_t> &thread_ids, bool &sequence_mutex_unavailable) { in GetCurrentThreadIDs() argument
2771 thread_ids.clear(); in GetCurrentThreadIDs()
2792 thread_ids.push_back(tid); in GetCurrentThreadIDs()
2808 thread_ids.size() == 0 && IsConnected()) { in GetCurrentThreadIDs()
2809 thread_ids.push_back(1); in GetCurrentThreadIDs()
2818 return thread_ids.size(); in GetCurrentThreadIDs()
DGDBRemoteCommunicationClient.h369 size_t GetCurrentThreadIDs(std::vector<lldb::tid_t> &thread_ids,
/external/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/
Dgdbremote_testcase.py782 thread_ids = []
785 thread_ids.extend(new_thread_infos)
786 return thread_ids
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc1790 PlatformThreadId thread_ids[kNumThreads]; in TEST_F() local
1804 thread_ids[i] = threads[i]->GetThreadId(); in TEST_F()
1838 if (static_cast<int>(thread_ids[j]) != tmp_int) in TEST_F()
/external/llvm-project/polly/lib/CodeGen/
DPPCGCodeGeneration.cpp2092 isl_id *Id = isl_id_list_get_id(Kernel->thread_ids, i); in insertKernelIntrinsics()
2134 createFunc(LocalName[i], isl_id_list_get_id(Kernel->thread_ids, i), SizeT); in insertKernelCallsSPIR()