Lines Matching refs:macro

77  * \brief Add new counters under KMP_FOREACH_COUNTER() macro in kmp_stats.h
79 * @param macro a user defined macro that takes three arguments -
80 * macro(COUNTER_NAME, flags, arg)
81 * @param arg a user defined argument to send to the user defined macro
89 * need to do. All of the tables and printing is generated from this macro.
90 * Format is "macro(name, flags, arg)"
95 #define KMP_FOREACH_COUNTER(macro, arg) \
96 macro(OMP_PARALLEL,stats_flags_e::onlyInMaster|stats_flags_e::noTotal,arg) \
97 macro(OMP_NESTED_PARALLEL, 0, arg) \
98 macro(OMP_LOOP_STATIC, 0, arg) \
99 macro(OMP_LOOP_STATIC_STEAL, 0, arg) \
100 macro(OMP_LOOP_DYNAMIC, 0, arg) \
101 macro(OMP_DISTRIBUTE, 0, arg) \
102 macro(OMP_BARRIER, 0, arg) \
103 macro(OMP_CRITICAL, 0, arg) \
104 macro(OMP_SINGLE, 0, arg) \
105 macro(OMP_MASTER, 0, arg) \
106 macro(OMP_TEAMS, 0, arg) \
107 macro(OMP_set_lock, 0, arg) \
108 macro(OMP_test_lock, 0, arg) \
109 macro(REDUCE_wait, 0, arg) \
110 macro(REDUCE_nowait, 0, arg) \
111 macro(OMP_TASKYIELD, 0, arg) \
112 macro(OMP_TASKLOOP, 0, arg) \
113 macro(TASK_executed, 0, arg) \
114 macro(TASK_cancelled, 0, arg) \
115 macro(TASK_stolen, 0, arg)
119 * \brief Add new timers under KMP_FOREACH_TIMER() macro in kmp_stats.h
121 * @param macro a user defined macro that takes three arguments -
122 * macro(TIMER_NAME, flags, arg)
123 * @param arg a user defined argument to send to the user defined macro
132 * are at that level. Format is "macro(name, flags, arg)"
137 #define KMP_FOREACH_TIMER(macro, arg) \
138 macro (OMP_worker_thread_life, stats_flags_e::logEvent, arg) \
139 macro (OMP_parallel, stats_flags_e::logEvent, arg) \
140 macro (OMP_parallel_overhead, stats_flags_e::logEvent, arg) \
141 macro (OMP_teams, stats_flags_e::logEvent, arg) \
142 macro (OMP_teams_overhead, stats_flags_e::logEvent, arg) \
143 macro (OMP_loop_static, 0, arg) \
144 macro (OMP_loop_static_scheduling, 0, arg) \
145 macro (OMP_loop_dynamic, 0, arg) \
146 macro (OMP_loop_dynamic_scheduling, 0, arg) \
147 macro (OMP_distribute, 0, arg) \
148 macro (OMP_distribute_scheduling, 0, arg) \
149 macro (OMP_critical, 0, arg) \
150 macro (OMP_critical_wait, 0, arg) \
151 macro (OMP_single, 0, arg) \
152 macro (OMP_master, 0, arg) \
153 macro (OMP_task_immediate, 0, arg) \
154 macro (OMP_task_taskwait, 0, arg) \
155 macro (OMP_task_taskyield, 0, arg) \
156 macro (OMP_task_taskgroup, 0, arg) \
157 macro (OMP_task_join_bar, 0, arg) \
158 macro (OMP_task_plain_bar, 0, arg) \
159 macro (OMP_taskloop_scheduling, 0, arg) \
160 macro (OMP_plain_barrier, stats_flags_e::logEvent, arg) \
161 macro (OMP_idle, stats_flags_e::logEvent, arg) \
162 macro (OMP_fork_barrier, stats_flags_e::logEvent, arg) \
163 macro (OMP_join_barrier, stats_flags_e::logEvent, arg) \
164 macro (OMP_serial, stats_flags_e::logEvent, arg) \
165 macro (OMP_set_numthreads, stats_flags_e::noUnits | stats_flags_e::noTotal, \
167 macro (OMP_PARALLEL_args, stats_flags_e::noUnits | stats_flags_e::noTotal, \
169 macro (OMP_loop_static_iterations, \
171 macro (OMP_loop_static_total_iterations, \
173 macro (OMP_loop_dynamic_iterations, \
175 macro (OMP_loop_dynamic_total_iterations, \
177 macro (OMP_distribute_iterations, \
179 KMP_FOREACH_DEVELOPER_TIMER(macro, arg)
247 #define KMP_FOREACH_DEVELOPER_TIMER(macro, arg) \
248 macro(KMP_fork_call, 0, arg) \
249 macro(KMP_join_call, 0, arg) \
250 macro(KMP_end_split_barrier, 0, arg) \
251 macro(KMP_hier_gather, 0, arg) \
252 macro(KMP_hier_release, 0, arg) \
253 macro(KMP_hyper_gather, 0, arg) \
254 macro(KMP_hyper_release, 0, arg) \
255 macro(KMP_linear_gather, 0, arg) \
256 macro(KMP_linear_release, 0, arg) \
257 macro(KMP_tree_gather, 0, arg) \
258 macro(KMP_tree_release, 0, arg) \
259 macro(USER_resume, 0, arg) \
260 macro(USER_suspend, 0, arg) \
261 macro(KMP_allocate_team, 0, arg) \
262 macro(KMP_setup_icv_copy, 0, arg) \
263 macro(USER_icv_copy, 0, arg) \
264 macro (FOR_static_steal_stolen, \
266 macro (FOR_static_steal_chunks, \
269 #define KMP_FOREACH_DEVELOPER_TIMER(macro, arg)
274 * \brief Add new explicit timers under KMP_FOREACH_EXPLICIT_TIMER() macro.
276 * @param macro a user defined macro that takes three arguments -
277 * macro(TIMER_NAME, flags, arg)
278 * @param arg a user defined argument to send to the user defined macro
292 #define KMP_FOREACH_EXPLICIT_TIMER(macro, arg) KMP_FOREACH_TIMER(macro, arg)
879 * @param name timer name as specified under the KMP_FOREACH_TIMER() macro
882 * \details Use KMP_COUNT_VALUE(name, value) macro to add a particular value to
893 * @param name counter name as specified under the KMP_FOREACH_COUNTER() macro
895 * \details Use KMP_COUNT_BLOCK(name, value) macro to increment a statistics
916 * macro is called.