MetaMap::GetSync shows up in profiles,
so add LIKELY/UNLIKELY annotations.
Depends on D107256.
Differential D107257
tsan: add LIKELY/UNLIKELY to MetaMap::GetSync Authored by dvyukov on Aug 2 2021, 2:09 AM.
Details MetaMap::GetSync shows up in profiles, Depends on D107256.
Diff Detail
Event Timeline
| ||||||
Would restricting scope of idx and moving condition into loop-condition be more readable?
for (u32 idx = idx0; LIKELY((idx != 0) && !(idx & kFlagBlock));) {