Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Doverride_threadpool_test.py59 thread_ids = []
62 thread_ids.append(self.evaluate(next_element()))
65 self.assertLen(thread_ids, len(set(thread_ids)))
66 self.assertNotEmpty(thread_ids)
71 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/tensorflow/tensorflow/contrib/eager/python/
Ddatasets_test.py225 thread_ids = []
227 thread_ids.append(next_element)
228 self.assertEqual(len(thread_ids), len(set(thread_ids)))
229 self.assertGreater(len(thread_ids), 0)
233 self.assertLessEqual(len(thread_ids), num_threads)
/external/ltp/testcases/network/netstress/
Dnetstress.c134 static pthread_t *thread_ids; variable
465 thread_ids = SAFE_MALLOC(sizeof(pthread_t) * clients_num); in client_init()
486 SAFE_PTHREAD_CREATE(&thread_ids[i], 0, client_fn, NULL); in client_init()
495 pthread_join(thread_ids[i], &res); in client_run()
528 free(thread_ids); in client_cleanup()
/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)