/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/ |
D | StressTest.java | 45 long time2 = System.nanoTime(); in testPerformance() local 46 float duration = (time2 - time1) / 1000000; in testPerformance() 52 time2 = System.nanoTime(); in testPerformance() 53 duration = (time2 - time1) / 1000000; in testPerformance() 64 time2 = System.nanoTime(); in testPerformance() 65 duration = ((time2 - time1) / 1000000) / (float) number; in testPerformance() 81 time2 = System.nanoTime(); in testPerformance() 82 duration = ((time2 - time1) / 1000000) / (float) number; in testPerformance()
|
D | StressEmitterTest.java | 43 long time2 = System.nanoTime(); in testPerformance() local 44 float duration = (time2 - time1) / 1000000; in testPerformance() 54 time2 = System.nanoTime(); in testPerformance() 55 duration = ((time2 - time1) / 1000000) / (float) number; in testPerformance() 70 time2 = System.nanoTime(); in testPerformance() 71 duration = ((time2 - time1) / 1000000) / (float) number; in testPerformance()
|
D | ParallelTest.java | 65 long time2 = System.nanoTime(); in run() local 66 float duration = ((time2 - time1) / 1000000) / (float) cycles; in run()
|
/external/autotest/client/tests/tracing_microbenchmark/src/ |
D | getuid_microbench.c | 11 const struct timespec *time1, const struct timespec *time2) { in ts_subtract() argument 13 result->tv_sec -= time2->tv_sec ; in ts_subtract() 14 if (result->tv_nsec < time2->tv_nsec) { in ts_subtract() 19 result->tv_nsec -= time2->tv_nsec; in ts_subtract()
|
/external/netperf/src/ |
D | netcpu_perfstat.c | 136 struct timeval time1, time2 ; in calibrate_idle_rate() local 194 gettimeofday (&time2, &tz); in calibrate_idle_rate() 196 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate() 198 time2.tv_usec += 1000000; in calibrate_idle_rate() 199 time2.tv_sec -=1; in calibrate_idle_rate() 201 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate() 202 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
|
D | netcpu_pstat.c | 121 struct timeval time1, time2; in calibrate_idle_rate() local 160 gettimeofday (&time2, &tz); in calibrate_idle_rate() 162 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate() 164 time2.tv_usec += 1000000; in calibrate_idle_rate() 165 time2.tv_sec -=1; in calibrate_idle_rate() 167 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate() 168 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
|
D | netcpu_kstat.c | 270 struct timeval time1, time2 ; in calibrate_idle_rate() local 293 gettimeofday (&time2, &tz); in calibrate_idle_rate() 295 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate() 297 time2.tv_usec += 1000000; in calibrate_idle_rate() 298 time2.tv_sec -=1; in calibrate_idle_rate() 300 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate() 301 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
|
D | netcpu_looper.c | 505 struct timeval time1, time2 ; in calibrate_idle_rate() local 521 gettimeofday (&time2, &tz); in calibrate_idle_rate() 523 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate() 525 time2.tv_usec += 1000000; in calibrate_idle_rate() 526 time2.tv_sec -=1; in calibrate_idle_rate() 528 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate() 529 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
|
D | netlib.c | 207 struct timeval time1, time2; variable 3569 gettimeofday(&time2, in cpu_stop() 3572 if (time2.tv_usec < time1.tv_usec) { in cpu_stop() 3573 time2.tv_usec += 1000000; in cpu_stop() 3574 time2.tv_sec -= 1; in cpu_stop() 3577 sec = time2.tv_sec - time1.tv_sec; in cpu_stop() 3578 usec = time2.tv_usec - time1.tv_usec; in cpu_stop()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | UpdatePair.cpp | 17 … int MyCompareTime(NFileTimeType::EEnum fileTimeType, const FILETIME &time1, const FILETIME &time2) in MyCompareTime() argument 22 return ::CompareFileTime(&time1, &time2); in MyCompareTime() 27 FileTimeToUnixTime(time2, unixTime2); in MyCompareTime() 34 FileTimeToDosTime(time2, dosTime2); in MyCompareTime()
|
/external/chromium-trace/catapult/experimental/ |
D | commits.py | 80 for time1, time2 in Pairwise(commit_times): 81 commit_durations.append((time1 - time2).total_seconds())
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GameRenderer.java | 237 long time2 = SystemClock.uptimeMillis(); in onDrawFrame() local 238 mLastTime = time2; in onDrawFrame() 241 mProfileSubmitTime += time2 - time; in onDrawFrame()
|
/external/autotest/client/deps/glbench/src/ |
D | testbase.cc | 34 uint64_t time2 = GetUTime(); in TimeTest() local 35 return time2 - time1; in TimeTest()
|
/external/valgrind/none/tests/s390x/ |
D | stcke.c | 10 int time2; member
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
D | BaseAnimationController.java | 143 …pplyAnimations (final Animation anim1, final float time1, final Animation anim2, final float time2, in applyAnimations() argument 148 applyAnimation(anim2, time2); in applyAnimations() 154 apply(anim2, time2, weight); in applyAnimations()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 740 long time2 = getUTCMillis(2015, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 858 d1 = a3.getNextStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 863 d2 = a3.getPreviousStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 1058 long time2 = getUTCMillis(2000, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1109 tzt2 = stz1.getNextTransition(time2, false); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage() 1207 long time2 = getUTCMillis(2020, Calendar.JANUARY, 1); in TestVTimeZoneCoverage() local 1208 if (!vtz.hasEquivalentTransitions(otz, time1, time2)) { in TestVTimeZoneCoverage() 1215 TimeZoneRule[] ruleset2 = vtz.getTimeZoneRules(time2); in TestVTimeZoneCoverage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 744 long time2 = getUTCMillis(2015, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 862 d1 = a3.getNextStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 867 d2 = a3.getPreviousStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 1062 long time2 = getUTCMillis(2000, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1113 tzt2 = stz1.getNextTransition(time2, false); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage() 1211 long time2 = getUTCMillis(2020, Calendar.JANUARY, 1); in TestVTimeZoneCoverage() local 1212 if (!vtz.hasEquivalentTransitions(otz, time1, time2)) { in TestVTimeZoneCoverage() 1219 TimeZoneRule[] ruleset2 = vtz.getTimeZoneRules(time2); in TestVTimeZoneCoverage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | ChineseTest.java | 653 Date time2 = getDate(2001, Calendar.MAY, 23); in TestCoverage() local 654 String str2 = fmt2.format(time2); in TestCoverage() 655 logln("Chinese calendar time: " + time2 + " result: " + str2); in TestCoverage()
|
D | IBMCalendarTest.java | 602 Date time2 = cal.getTime(); in TestWeekShift() local 604 if (!time1.equals(time2)) { in TestWeekShift()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | ChineseTest.java | 649 Date time2 = getDate(2001, Calendar.MAY, 23); in TestCoverage() local 650 String str2 = fmt2.format(time2); in TestCoverage() 651 logln("Chinese calendar time: " + time2 + " result: " + str2); in TestCoverage()
|
/external/dng_sdk/source/ |
D | dng_date_time.cpp | 873 uint64 time2 = (((uint64) utcFT .dwHighDateTime) << 32) + utcFT .dwLowDateTime; in LocalTimeZone() local 878 int64 time2Sec = time2 / 10000000; in LocalTimeZone()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 1205 UDate time2 = getUTCMillis(2015, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local 1329 b1 = a3->getNextStart(time2, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1334 b2 = a3->getPreviousStart(time2, -3*HOUR, 0, FALSE, d2); in TestTimeZoneRuleCoverage() 1516 UDate time2 = getUTCMillis(2000, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local 1607 avail2 = stz1->getNextTransition(time2, FALSE, tzt2); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage() 1753 UDate time2 = getUTCMillis(2020, UCAL_JANUARY, 1); in TestVTimeZoneCoverage() local 1754 UBool equiv = vtz->hasEquivalentTransitions(*otz, time1, time2, FALSE, status); in TestVTimeZoneCoverage()
|
/external/libweave/src/ |
D | component_manager_unittest.cc | 1203 base::Time time2 = time1 + base::TimeDelta::FromSeconds(1); in TEST_F() local 1204 EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(time2)); in TEST_F() 1225 EXPECT_EQ(time2, snapshot.state_changes[2].timestamp); in TEST_F() 1230 EXPECT_EQ(time2, snapshot.state_changes[3].timestamp); in TEST_F()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | localtime.c | 162 static time_t time2(struct tm *tmp, 1843 time2(struct tm * const tmp, in time2() function 1880 t = time2(tmp, funcp, offset, &okay); in time1() 1920 t = time2(tmp, funcp, offset, &okay); in time1()
|
/external/v8/test/cctest/heap/ |
D | test-heap.cc | 6161 int time2 = 200; in TEST() local 6163 tracer->SampleAllocation(time2, counter2, 0); in TEST() 6166 CHECK_EQ((counter2 - counter1) / (time2 - time1), throughput); in TEST() 6184 int time2 = 200; in TEST() local 6186 tracer->SampleAllocation(time2, counter2, 0); in TEST() 6189 CHECK_EQ((counter2 - counter1) / (time2 - time1), throughput); in TEST() 6297 int time2 = 200; in TEST() local 6299 tracer->SampleAllocation(time2, 0, counter2); in TEST() 6302 CHECK_EQ((counter2 - counter1) / (time2 - time1), throughput); in TEST() 6321 int time2 = 200; in TEST() local [all …]
|