Home
last modified time | relevance | path

Searched refs:timeDiff (Results 1 – 13 of 13) sorted by relevance

/third_party/musl/libc-test/src/functionalext/thread/
Dpthread_rwlock_wrlock.c43 int timeDiff = GetTimeDiff(tsNow, ts); in RwlockClockRealTimeOut2() local
44 EXPECT_GE(timeDiff, 0); in RwlockClockRealTimeOut2()
45 EXPECT_LE(timeDiff, SLEEP_20_MS); in RwlockClockRealTimeOut2()
85 int timeDiff = GetTimeDiff(tsNow, ts); in RwlockClockMonotonicTimeOut2() local
86 EXPECT_GE(timeDiff, 0); in RwlockClockMonotonicTimeOut2()
87 EXPECT_LE(timeDiff, SLEEP_20_MS); in RwlockClockMonotonicTimeOut2()
126 int timeDiff = GetTimeDiff(tsNow, ts); in RwlockMonotonicTime2() local
127 EXPECT_GE(timeDiff, 0); in RwlockMonotonicTime2()
128 EXPECT_LE(timeDiff, SLEEP_20_MS); in RwlockMonotonicTime2()
Dpthread_mutex_ext.c32 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadClocklockOutRealTime() local
33 TEST(timeDiff < 20); in PthreadClocklockOutRealTime()
100 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadClocklockOutMonoTime() local
101 TEST(timeDiff < 20); in PthreadClocklockOutMonoTime()
247 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadTimedlockMonotonicNPOut() local
248 TEST(timeDiff < 20); in PthreadTimedlockMonotonicNPOut()
316 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadLockTimeoutNPOut() local
317 TEST(timeDiff < 20); in PthreadLockTimeoutNPOut()
Dpthread_rwlock_rdlock.c80 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadClockRdlockOutRealTimeR2() local
81 TEST(timeDiff < 20); in PthreadClockRdlockOutRealTimeR2()
165 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadClockRdlockOutMonoTimeR2() local
166 TEST(timeDiff < 20); in PthreadClockRdlockOutMonoTimeR2()
249 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadTimedRdlockMonoNPOutR2() local
250 TEST(timeDiff < 20); in PthreadTimedRdlockMonoNPOutR2()
Dpthread_cond_timedwait.c274 int timeDiff = GetTimeDiff(tsNow, ts); in ClockWaitTimeOut() local
275 EXPECT_GE(timeDiff, 0); in ClockWaitTimeOut()
276 EXPECT_LE(timeDiff, SLEEP_20_MS); in ClockWaitTimeOut()
352 int timeDiff = GetTimeDiff(tsNow, ts); in ClockWaitTimeOut2() local
353 EXPECT_GE(timeDiff, 0); in ClockWaitTimeOut2()
354 EXPECT_LE(timeDiff, SLEEP_20_MS); in ClockWaitTimeOut2()
576 int timeDiff = GetTimeDiff(tsNow, ts); in PthreadCondMonotonicTimeOut() local
577 EXPECT_GE(timeDiff, 0); in PthreadCondMonotonicTimeOut()
578 EXPECT_LE(timeDiff, SLEEP_20_MS); in PthreadCondMonotonicTimeOut()
682 int timeDiff = GetTimeDiff(tsNow, ts); in PthreadCondUnsignedTimeOut() local
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DOverlay.cpp88 double timeDiff = currentTime - mLastPerSecondUpdate; in onSwap() local
89 if (timeDiff >= 1.0) in onSwap()
97 perSecond->lastPerSecondCount = static_cast<size_t>(perSecond->count / timeDiff); in onSwap()
/third_party/node/test/fixtures/wpt/hr-time/
Dwindow-worker-timeOrigin.window.js25 … const timeDiff = workerTimeOrigin - globalTimeOrigin; // convert worker's time to Document time.
26 …assert_less_than(globalTimeOrigin + globalNowBeforeWorkerStart, globalTimeOrigin + timeDiff + work…
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeZoneFormatTest.java477 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip() local
479 (timeDiff/60000)*60000 == 0 : timeDiff == 0; in TestTimeRoundTrip()
490 .append(", diff=").append(timeDiff); in TestTimeRoundTrip()
DGlobalizationPreferencesTest.java1586 long timeDiff = System.currentTimeMillis() - cal.getTimeInMillis(); in TestJB5380() local
1587 if (Math.abs(timeDiff) > 1000) { in TestJB5380()
1589 … errln("FAIL: The Calendar was not initialized by current time - difference:" + timeDiff); in TestJB5380()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java474 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip() local
476 (timeDiff/60000)*60000 == 0 : timeDiff == 0; in TestTimeRoundTrip()
487 .append(", diff=").append(timeDiff); in TestTimeRoundTrip()
/third_party/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp677 int32_t timeDiff = (int32_t)(parsedDate - testTimes[testidx]); in RunTimeRoundTripTests() local
679 (timeDiff/60000)*60000 == 0 : timeDiff == 0; in RunTimeRoundTripTests()
/third_party/vk-gl-cts/modules/glshared/
DglsLongStressCase.cpp1487 const deUint64 timeDiff = time - m_lastLogTime; in iterate() local
1490 if (timeDiff >= loggingIntervalSeconds || m_currentIteration == m_numIterations-1) in iterate()
1495 << TestLog::Message << "Time since last log entry: " << timeDiff << "s" << TestLog::EndMessage in iterate()
1497 …"Average frame time since last log entry: " << de::floatToString((float)timeDiff / (float)iterDiff… in iterate()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1583 long timeDiff = System.currentTimeMillis() - cal.getTimeInMillis(); in TestJB5380() local
1584 if (Math.abs(timeDiff) > 1000) { in TestJB5380()
1586 … errln("FAIL: The Calendar was not initialized by current time - difference:" + timeDiff); in TestJB5380()
/third_party/sqlite/src/
Dshell.c298 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ in timeDiff() function
313 timeDiff(&sBegin.ru_utime, &sEnd.ru_utime), in endTimer()
314 timeDiff(&sBegin.ru_stime, &sEnd.ru_stime)); in endTimer()
376 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ in timeDiff() function
392 timeDiff(&ftUserBegin, &ftUserEnd), in endTimer()
393 timeDiff(&ftKernelBegin, &ftKernelEnd)); in endTimer()