kmp_int32 __kmpc_next_section(ident_t *loc, kmp_int32 gtid,
kmp_int32 numberOfSections) {
- KMP_TIME_PARTITIONED_BLOCK(OMP_sections);
+ KMP_TIME_PARTITIONED_BLOCK(OMP_sections_overhead);
kmp_info_t *th = __kmp_threads[gtid];
#ifdef KMP_DEBUG
ompt_dispatch_section, instance);
}
#endif
- KMP_POP_PARTITIONED_TIMER();
}
return sectionIndex;
&(task_info->task_data), 0, OMPT_GET_RETURN_ADDRESS(0));
}
#endif
- KMP_POP_PARTITIONED_TIMER();
}
+ KMP_POP_PARTITIONED_TIMER();
KD_TRACE(100, ("__kmpc_end_sections: T#%d returned\n", gtid));
}
macro(OMP_BARRIER, 0, arg) \
macro(OMP_CRITICAL, 0, arg) \
macro(OMP_SINGLE, 0, arg) \
+ macro(OMP_SECTIONS, 0, arg) \
macro(OMP_MASTER, 0, arg) \
macro(OMP_MASKED, 0, arg) \
macro(OMP_TEAMS, 0, arg) \
macro (OMP_critical, 0, arg) \
macro (OMP_critical_wait, 0, arg) \
macro (OMP_single, 0, arg) \
+ macro (OMP_sections, 0, arg) \
+ macro (OMP_sections_overhead, 0, arg) \
macro (OMP_master, 0, arg) \
macro (OMP_masked, 0, arg) \
macro (OMP_task_immediate, 0, arg) \