equal
deleted
inserted
replaced
401 const TInt KSleepTime = 200000;//us |
401 const TInt KSleepTime = 200000;//us |
402 (void)sqlite3OsSleep(vfs, KSleepTime); |
402 (void)sqlite3OsSleep(vfs, KSleepTime); |
403 TUint32 end = User::FastCounter(); |
403 TUint32 end = User::FastCounter(); |
404 TInt ms = CalcMs(start, end); |
404 TInt ms = CalcMs(start, end); |
405 TheTest.Printf(_L(" === sqlite3OsSleep() time=%d ms\r\n"), ms); |
405 TheTest.Printf(_L(" === sqlite3OsSleep() time=%d ms\r\n"), ms); |
406 //TEST(ms >= 80 && ms <= 320);// -60%..+60% |
406 TEST(ms >= 80 && ms <= 320);// -60%..+60% |
407 } |
407 } |
408 |
408 |
409 //Lock/unlock tests |
409 //Lock/unlock tests |
410 void Test5() |
410 void Test5() |
411 { |
411 { |