/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/ |
D | test-cmpxchg-nolock.c | 48 cycles_t time1, time2, time; in do_testbaseline() local 57 time2 = get_cycles(); in do_testbaseline() 60 time = time2 - time1; in do_testbaseline() 75 cycles_t time1, time2, time; in do_test_sync_cmpxchg() local 88 time2 = get_cycles(); in do_test_sync_cmpxchg() 91 time = time2 - time1; in do_test_sync_cmpxchg() 106 cycles_t time1, time2, time; in do_test_cmpxchg() local 115 time2 = get_cycles(); in do_test_cmpxchg() 118 time = time2 - time1; in do_test_cmpxchg() 133 cycles_t time1, time2, time; in do_test_sync_inc() local [all …]
|
/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
D | 2-1.c | 62 struct timeval time1, time2; in main() local 110 if (gettimeofday(&time2, NULL) == -1) { in main() 115 time_elapsed = (time2.tv_sec - time1.tv_sec in main() 116 + (time2.tv_usec - time1.tv_usec) / 1000000.0); in main()
|
D | 1-1.c | 61 struct timeval time1, time2; in main() local 109 if (gettimeofday(&time2, NULL) == -1) { in main() 114 time_elapsed = (time2.tv_sec - time1.tv_sec in main() 115 + (time2.tv_usec - time1.tv_usec) / 1000000.0); in main()
|
/external/ltp/testcases/kernel/fs/lftest/ |
D | lftest.c | 48 time_t time1, time2; in main() local 84 time2 = time(NULL); in main() 86 asctime(localtime(&time2))); in main() 87 diff = time2 - time1; in main()
|
/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/common/lab/ |
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/valgrind/none/tests/s390x/ |
D | stcke.c | 10 int time2; member
|
/external/autotest/client/deps/glbench/src/ |
D | testbase.cc | 35 uint64_t time2 = GetUTime(); in TimeTest() local 36 return time2 - time1; in TimeTest()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 752 long time2 = getUTCMillis(2015, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 870 d1 = a3.getNextStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 875 d2 = a3.getPreviousStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 1071 long time2 = getUTCMillis(2000, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1122 tzt2 = stz1.getNextTransition(time2, false); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage() 1221 long time2 = getUTCMillis(2020, Calendar.JANUARY, 1); in TestVTimeZoneCoverage() local 1222 if (!vtz.hasEquivalentTransitions(otz, time1, time2)) { in TestVTimeZoneCoverage() 1229 TimeZoneRule[] ruleset2 = vtz.getTimeZoneRules(time2); in TestVTimeZoneCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 751 long time2 = getUTCMillis(2015, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 869 d1 = a3.getNextStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 874 d2 = a3.getPreviousStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 1070 long time2 = getUTCMillis(2000, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1121 tzt2 = stz1.getNextTransition(time2, false); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage() 1220 long time2 = getUTCMillis(2020, Calendar.JANUARY, 1); in TestVTimeZoneCoverage() local 1221 if (!vtz.hasEquivalentTransitions(otz, time1, time2)) { in TestVTimeZoneCoverage() 1228 TimeZoneRule[] ruleset2 = vtz.getTimeZoneRules(time2); in TestVTimeZoneCoverage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | ChineseTest.java | 659 Date time2 = getDate(2001, Calendar.MAY, 23); in TestCoverage() local 660 String str2 = fmt2.format(time2); in TestCoverage() 661 logln("Chinese calendar time: " + time2 + " result: " + str2); in TestCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | ChineseTest.java | 658 Date time2 = getDate(2001, Calendar.MAY, 23); in TestCoverage() local 659 String str2 = fmt2.format(time2); in TestCoverage() 660 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 | 1207 UDate time2 = getUTCMillis(2015, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local 1331 b1 = a3->getNextStart(time2, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1336 b2 = a3->getPreviousStart(time2, -3*HOUR, 0, FALSE, d2); in TestTimeZoneRuleCoverage() 1518 UDate time2 = getUTCMillis(2000, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local 1609 avail2 = stz1->getNextTransition(time2, FALSE, tzt2); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage() 1755 UDate time2 = getUTCMillis(2020, UCAL_JANUARY, 1); in TestVTimeZoneCoverage() local 1756 UBool equiv = vtz->hasEquivalentTransitions(*otz, time1, time2, FALSE, status); in TestVTimeZoneCoverage()
|
/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()
|