Home
last modified time | relevance | path

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

/external/libevent/test/
Dtest-changelist.c114 struct timeval timeEnd, timeDiff; in get_cpu_usage() local
129 evutil_timersub(&timeEnd, &timer->timeBegin, &timeDiff); in get_cpu_usage()
130 secondsPassed = timeDiff.tv_sec + (timeDiff.tv_usec / 1.0e6); in get_cpu_usage()
/external/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()
/external/icu/android_icu4j/src/main/tests/android/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.java1576 long timeDiff = System.currentTimeMillis() - cal.getTimeInMillis(); in TestJB5380() local
1577 if (Math.abs(timeDiff) > 1000) { in TestJB5380()
1579 … errln("FAIL: The Calendar was not initialized by current time - difference:" + timeDiff); in TestJB5380()
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp675 int32_t timeDiff = (int32_t)(parsedDate - testTimes[testidx]); in RunTimeRoundTripTests() local
677 (timeDiff/60000)*60000 == 0 : timeDiff == 0; in RunTimeRoundTripTests()
/external/deqp/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()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1573 long timeDiff = System.currentTimeMillis() - cal.getTimeInMillis(); in TestJB5380() local
1574 if (Math.abs(timeDiff) > 1000) { in TestJB5380()
1576 … errln("FAIL: The Calendar was not initialized by current time - difference:" + timeDiff); in TestJB5380()
/external/sqlite/dist/orig/
Dshell.c261 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ in timeDiff() function
276 timeDiff(&sBegin.ru_utime, &sEnd.ru_utime), in endTimer()
277 timeDiff(&sBegin.ru_stime, &sEnd.ru_stime)); in endTimer()
337 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ in timeDiff() function
353 timeDiff(&ftUserBegin, &ftUserEnd), in endTimer()
354 timeDiff(&ftKernelBegin, &ftKernelEnd)); in endTimer()
/external/sqlite/dist/
Dshell.c267 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ in timeDiff() function
282 timeDiff(&sBegin.ru_utime, &sEnd.ru_utime), in endTimer()
283 timeDiff(&sBegin.ru_stime, &sEnd.ru_stime)); in endTimer()
343 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ in timeDiff() function
359 timeDiff(&ftUserBegin, &ftUserEnd), in endTimer()
360 timeDiff(&ftKernelBegin, &ftKernelEnd)); in endTimer()