summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOUniversal.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2017-01-27 17:54:31 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2017-01-27 17:54:31 +0000
commit2208a851012a2d0bc09a375972cbcc8248487766 (patch)
treec983670bc0e8157ba92bc5ee600490da22a0075d /llvm/lib/Object/MachOUniversal.cpp
parent3b34a9b5d9fb08130124f17cb969c2c6bc0419f9 (diff)
downloadbcm5719-llvm-2208a851012a2d0bc09a375972cbcc8248487766.tar.gz
bcm5719-llvm-2208a851012a2d0bc09a375972cbcc8248487766.zip
Fix 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. Patch by Hansang Bae Differential Revision: https://reviews.llvm.org/D28906 llvm-svn: 293312
Diffstat (limited to 'llvm/lib/Object/MachOUniversal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud