Home
last modified time | relevance | path

Searched refs:oldTime (Results 1 – 8 of 8) sorted by relevance

/external/libdrm/tests/ttmtest/src/
Dttmtest.c172 unsigned long curTime, oldTime; in benchmarkBuffer() local
180 oldTime = fastrdtsc(); in benchmarkBuffer()
186 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer()
188 oldTime = fastrdtsc(); in benchmarkBuffer()
192 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer()
194 oldTime = fastrdtsc(); in benchmarkBuffer()
197 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer()
199 oldTime = fastrdtsc(); in benchmarkBuffer()
202 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer()
204 oldTime = fastrdtsc(); in benchmarkBuffer()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/
DTestCoroutineDispatcher.kt112 val oldTime = currentTime in <lambda>() constant
113 advanceUntilTime(oldTime + delayTimeMillis) in <lambda>()
114 return currentTime - oldTime in <lambda>()
129 val oldTime = currentTime in <lambda>() constant
135 return currentTime - oldTime in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/test_/
DTestCoroutineContext.kt97 val oldTime = time in <lambda>() constant
98 advanceTimeTo(oldTime + unit.toNanos(delayTime), TimeUnit.NANOSECONDS) in <lambda>()
99 return unit.convert(time - oldTime, TimeUnit.NANOSECONDS) in <lambda>()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleDistanceTest.java111 final long oldTime = oldTimeMinusLikely+likelyTime; in testTiming() local
116 logln("totalOld:\t" + oldTime/maxIterations); in testTiming()
119 assertTrue("newTime < 20% of oldTime", newTime * 5 < oldTime); in testTiming()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDistanceTest.java108 final long oldTime = oldTimeMinusLikely+likelyTime; in testTiming() local
113 logln("totalOld:\t" + oldTime/maxIterations); in testTiming()
116 assertTrue("newTime < 20% of oldTime", newTime * 5 < oldTime); in testTiming()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DXLocaleDistanceTest.java101 final long oldTime = oldTimeMinusLikely + likelyTime; in testTiming() local
106 logln("totalOld:\t" + oldTime / maxIterations); in testTiming()
109 assertTrue("newTime < 20% of oldTime", newTime * 5 < oldTime); in testTiming()
/external/icu/icu4c/source/test/perf/leperf/
Dletrperf.cpp161 double oldTime = runTime; in main() local
167 runTime = oldTime; in main()
/external/cldr/tools/java/org/unicode/cldr/test/
DCoverageLevel2.java197 long oldTime = timer.getDuration(); in main() local
204 System.out.println(timer.toString(1, oldTime)); in main()