Home
last modified time | relevance | path

Searched refs:thread_num (Results 1 – 22 of 22) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-tmspr.c101 int thread_num; in test_tmspr() local
107 thread_num = 10 * sysconf(_SC_NPROCESSORS_ONLN); in test_tmspr()
109 thread = malloc(thread_num * sizeof(pthread_t)); in test_tmspr()
114 for (i = 0; i < thread_num; i += 2) { in test_tmspr()
120 for (i = 1; i < thread_num; i += 2) { in test_tmspr()
125 for (i = 0; i < thread_num; i++) { in test_tmspr()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
D2-1.c45 int thread_num = *(int *)arg; in fn_chld() local
47 printf("child[%d]: barrier wait\n", thread_num); in fn_chld()
52 "return code : %d\n", thread_num, rc); in fn_chld()
57 thread_num); in fn_chld()
/external/grpc-grpc/test/cpp/qps/
Dinterarrival.h93 int64_t next(int thread_num) { in next() argument
94 auto ret = *(thread_posns_[thread_num]++); in next()
95 if (thread_posns_[thread_num] == random_table_.end()) in next()
96 thread_posns_[thread_num] = random_table_.begin(); in next()
/external/llvm-project/openmp/runtime/src/
Dompt-specific.cpp332 int *thread_num) { in __ompt_get_task_info_internal() argument
416 if (thread_num) { in __ompt_get_task_info_internal()
418 *thread_num = __kmp_get_tid(); in __ompt_get_task_info_internal()
420 *thread_num = 0; in __ompt_get_task_info_internal()
422 *thread_num = prev_team->t.t_master_tid; in __ompt_get_task_info_internal()
Dompt-internal.h59 int thread_num; member
Dompt-specific.h45 ompt_data_t **parallel_data, int *thread_num);
Dompt-general.cpp630 int *thread_num) { argument
634 task_frame, parallel_data, thread_num);
Dkmp_runtime.cpp1386 ->thread_num = __kmp_tid_from_gtid(global_tid); in __kmp_serialized_parallel()
1543 ->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_fork_call()
1547 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_fork_call()
1578 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_fork_call()
1773 ->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_fork_call()
1777 OMPT_CUR_TASK_INFO(master_th)->thread_num, in __kmp_fork_call()
1806 OMPT_CUR_TASK_INFO(master_th)->thread_num, in __kmp_fork_call()
1848 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_initial); in __kmp_fork_call()
1888 ->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_fork_call()
1915 OMPT_CUR_TASK_INFO(master_th)->thread_num, in __kmp_fork_call()
[all …]
Dkmp_gsupport.cpp467 task_info->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_GOMP_fork_call()
Dkmp_csupport.cpp526 OMPT_CUR_TASK_INFO(this_thr)->thread_num, ompt_task_implicit); in __kmpc_end_serialized_parallel()
/external/llvm-project/openmp/tools/multiplex/
Dompt-multiplex.h311 ompt_data_t *task_data, unsigned int team_size, unsigned int thread_num, in ompt_multiplex_callback_implicit_task() argument
324 ompt_multiplex_get_own_task_data(task_data), team_size, thread_num, in ompt_multiplex_callback_implicit_task()
330 ompt_multiplex_get_client_task_data(task_data), team_size, thread_num, in ompt_multiplex_callback_implicit_task()
341 ompt_multiplex_get_own_task_data(task_data), team_size, thread_num, in ompt_multiplex_callback_implicit_task()
349 ompt_multiplex_get_client_task_data(task_data), team_size, thread_num, in ompt_multiplex_callback_implicit_task()
358 ompt_multiplex_get_own_task_data(task_data), team_size, thread_num, in ompt_multiplex_callback_implicit_task()
826 int *thread_num) { in ompt_multiplex_own_get_task_info() argument
828 task_frame, parallel_data, thread_num); in ompt_multiplex_own_get_task_info()
845 int *thread_num) { in ompt_multiplex_client_get_task_info() argument
847 task_frame, parallel_data, thread_num); in ompt_multiplex_client_get_task_info()
/external/llvm-project/openmp/runtime/test/ompt/
Dcallback.h102 int task_type, thread_num; in print_ids() local
107 &task_parallel_data, &thread_num); in print_ids()
117 frame->enter_frame.ptr, buffer, task_type, thread_num); in print_ids()
662 unsigned int thread_num, in on_ompt_callback_implicit_task() argument
680 if (team_size == 1 && thread_num == 1 && parallel_data->ptr) in on_ompt_callback_implicit_task()
688 task_data->value, team_size, thread_num, flags); in on_ompt_callback_implicit_task()
695 task_data->value, team_size, thread_num); in on_ompt_callback_implicit_task()
707 team_size, thread_num); in on_ompt_callback_implicit_task()
715 team_size, thread_num); in on_ompt_callback_implicit_task()
/external/perfetto/src/base/
Dwatchdog_unittest.cc143 auto thread_fn = [&mutex, &cv, &quit, &expected_tid](size_t thread_num) { in TEST() argument
144 if (thread_num == kKillThreadNum) { in TEST()
/external/llvm-project/openmp/runtime/test/ompt/tasks/
Dtask_memory.c28 unsigned int thread_num, int flag) { in on_ompt_callback_implicit_task() argument
/external/llvm-project/openmp/tools/multiplex/tests/custom_data_storage/
Dfirst-tool.h95 unsigned int thread_num, in on_cds_ompt_callback_implicit_task() argument
106 thread_num, type); in on_cds_ompt_callback_implicit_task()
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_test_base.cc371 Status DatasetOpsTestBase::InitThreadPool(int thread_num) { in InitThreadPool() argument
372 if (thread_num < 1) { in InitThreadPool()
374 "The `thread_num` argument should be positive but got: ", thread_num); in InitThreadPool()
377 Env::Default(), ThreadOptions(), "test_thread_pool", thread_num); in InitThreadPool()
Ddataset_test_base.h647 Status InitThreadPool(int thread_num);
/external/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/docs/
DReductionDesign.txt259 int thread_num = __popc(tnum);
262 if (thread_num == WARPSIZE) {
266 if (thread_num < WARPSIZE) {
267 gpu_irregular_warp_reduce(reduce_data, shuflReduceFn, thread_num,
/external/google-breakpad/src/processor/
Dstackwalk_common.cc624 static void PrintStackMachineReadable(int thread_num, const CallStack *stack) { in PrintStackMachineReadable() argument
628 printf("%d%c%d%c", thread_num, kOutputSeparator, frame_index, in PrintStackMachineReadable()
/external/llvm-project/openmp/tools/archer/
Dompt-tsan.cpp556 unsigned int thread_num, int type) { in ompt_tsan_implicit_task() argument
/external/llvm-project/openmp/runtime/src/include/
Domp-tools.h.var614 int *thread_num
/external/stressapptest/src/
Dworker.cc2461 int thread_num, in CpuCacheCoherencyThread() argument
2466 cc_thread_num_ = thread_num; in CpuCacheCoherencyThread()