patch tair code removing from 22x to 31CE

This commit is contained in:
ly0
2022-04-06 10:56:12 +08:00
committed by LINxiansheng
parent 518fd3552f
commit 68cd558747
71 changed files with 1310 additions and 1764 deletions

View File

@ -310,13 +310,13 @@ TEST(HazPtr, Basic0)
const int64_t lmt = 10000000;
int64_t cnt = 0;
int64_t start = obsys::CTimeUtil::getTime();
int64_t start = obsys::ObSysTimeUtil::getTime();
while (++cnt < lmt) {
TypeA* ptr = hazptr.acquire(target, 0);
EXPECT_EQ(target, ptr);
hazptr.revert(0);
}
int64_t end = obsys::CTimeUtil::getTime();
int64_t end = obsys::ObSysTimeUtil::getTime();
LIB_LOG(ERROR, ">>>", K(cnt), K(end - start), K((double)cnt / ((double)(end - start) / 1000000)));
err = hazptr.destroy();