Diff Detail
Diff Detail
Event Timeline
Comment Actions
Instead of a KMP_OS_FREEBSD_SCHED guard in kmp_platform.h, can you make a KMP_HAVE_SCHED_GETCPU guard defined as:
#define KMP_HAVE_SCHED_GETCPU (KMP_OS_LINUX || (KMP_OS_FREEBSD && __FreeBSD_version >= 1301000))
And put this somewhere in kmp_os.h where some of the other features are defined (like attributes, KMP_HAVE_MWAIT, etc.). You can then use it in ompt-general.cpp