Home
last modified time | relevance | path

Searched refs:blocktime (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/openmp/runtime/test/env/
Domp_wait_policy.c19 int blocktime, retval=1; in main() local
27 blocktime = kmp_get_blocktime(); in main()
31 retval = (blocktime != INT_MAX); in main()
33 retval = (blocktime != 0); in main()
/external/llvm-project/openmp/runtime/src/
Dkmp.h1042 #define KMP_WAKEUPS_FROM_BLOCKTIME(blocktime, monitor_wakeups) \ argument
1043 (((blocktime) == KMP_MAX_BLOCKTIME) \
1045 : ((blocktime) == KMP_MIN_BLOCKTIME) \
1047 : ((monitor_wakeups) > (KMP_BLOCKTIME_MULTIPLIER / (blocktime))) \
1049 : (KMP_BLOCKTIME_MULTIPLIER) / (blocktime))
1053 #define KMP_INTERVALS_FROM_BLOCKTIME(blocktime, monitor_wakeups) \ argument
1054 (((blocktime) + (KMP_BLOCKTIME_MULTIPLIER / (monitor_wakeups)) - 1) / \
1896 int blocktime; /* internal control for blocktime */ member
2088 ((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.blocktime)
2104 (((xteam)->t.t_threads[(xtid)]->th.th_current_task->td_icvs.blocktime) = \
Dkmp_runtime.cpp8174 int blocktime = arg; /* argument is in milliseconds */ in __kmp_aux_set_blocktime() local
8183 if (blocktime < KMP_MIN_BLOCKTIME) in __kmp_aux_set_blocktime()
8184 blocktime = KMP_MIN_BLOCKTIME; in __kmp_aux_set_blocktime()
8185 else if (blocktime > KMP_MAX_BLOCKTIME) in __kmp_aux_set_blocktime()
8186 blocktime = KMP_MAX_BLOCKTIME; in __kmp_aux_set_blocktime()
8188 set__blocktime_team(thread->th.th_team, tid, blocktime); in __kmp_aux_set_blocktime()
8189 set__blocktime_team(thread->th.th_serial_team, 0, blocktime); in __kmp_aux_set_blocktime()
8193 bt_intervals = KMP_INTERVALS_FROM_BLOCKTIME(blocktime, __kmp_monitor_wakeups); in __kmp_aux_set_blocktime()
8208 thread->th.th_team->t.t_id, tid, blocktime, bt_intervals, in __kmp_aux_set_blocktime()
8213 thread->th.th_team->t.t_id, tid, blocktime)); in __kmp_aux_set_blocktime()