[OpenMP] Fix incorrect barrier imbalance reporting in ITTNOTIFY
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Fri, 24 Aug 2018 18:03:27 +0000 (18:03 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Fri, 24 Aug 2018 18:03:27 +0000 (18:03 +0000)
commitb1b221c82cc25adbe181d5c5886ad5423fede17d
treee8e377cc9140ab03461d919c258dfd8ed66068f3
parent02f1d1315f0a8240046ace6054e51082f9681133
[OpenMP] Fix incorrect barrier imbalance reporting in ITTNOTIFY

Exclude nested explicit tasks from timing, only outer level explicit task
counted and its time added to barrier arrive time for the thread.

Differential Revision: https://reviews.llvm.org/D50584

llvm-svn: 340628
openmp/runtime/src/kmp_barrier.cpp
openmp/runtime/src/kmp_tasking.cpp