Reland^2 "[BOLT] Parallelize legacy profile merging"
authorYi Kong <yikong@google.com>
Fri, 19 May 2023 21:56:46 +0000 (14:56 -0700)
committerYi Kong <yikong@google.com>
Mon, 22 May 2023 20:37:41 +0000 (13:37 -0700)
commit67cf01bd37273af5041ba07e2c57b55fcbf287cb
tree4f7ef996b15c5aa7aed2f8a6c6a518917418b0f7
parent5734a81a5527dec3e63bebe842ac0bb9e2ff9025
Reland^2 "[BOLT] Parallelize legacy profile merging"

Resovled the issue that when number of tasks is fewer than cores, we end
up creating as many threads as the number of cores, making the
performance worse than the single thread version.
bolt/tools/merge-fdata/merge-fdata.cpp