[Openmp-commits] [PATCH] D28906: Fix performance issue incurred by removing monitor thread.
Hansang Bae via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 19 08:30:56 PST 2017
hbae created this revision.
This change fixes a performance issue incurred by removing monitor thread.
When the monitor thread is used, most threads in the team directly go to
sleep if the copy of bt_intervals/bt_set is not available in the cache,
and this happens at least once per thread in the wait function, making the
overall performance slightly better.
This change tries to mimic this behavior by using the bt_intervals cache,
which simply keeps the blocktime interval in terms of the platform-dependent
ticks or nanoseconds.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4489 bytes
Desc: not available
More information about the Openmp-commits