/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 53 time1 = get_cycles(); in do_testbaseline() 60 time = time2 - time1; in do_testbaseline() 75 cycles_t time1, time2, time; in do_test_sync_cmpxchg() local 80 time1 = 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 111 time1 = 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 | 43 long time1 = System.nanoTime(); in testPerformance() local 46 float duration = (time2 - time1) / 1000000; in testPerformance() 50 time1 = System.nanoTime(); in testPerformance() 53 duration = (time2 - time1) / 1000000; in testPerformance() 60 time1 = System.nanoTime(); in testPerformance() 65 duration = ((time2 - time1) / 1000000) / (float) number; in testPerformance() 76 time1 = System.nanoTime(); in testPerformance() 82 duration = ((time2 - time1) / 1000000) / (float) number; in testPerformance()
|
D | StressEmitterTest.java | 41 long time1 = System.nanoTime(); in testPerformance() local 44 float duration = (time2 - time1) / 1000000; in testPerformance() 50 time1 = System.nanoTime(); in testPerformance() 55 duration = ((time2 - time1) / 1000000) / (float) number; in testPerformance() 65 time1 = System.nanoTime(); in testPerformance() 71 duration = ((time2 - time1) / 1000000) / (float) number; in testPerformance()
|
D | ParallelTest.java | 59 long time1 = 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 101 if (gettimeofday(&time1, 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 100 if (gettimeofday(&time1, 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 51 time1 = time(NULL); in main() 59 asctime(localtime(&time1))); in main() 87 diff = time2 - time1; in main()
|
/external/netperf/src/ |
D | netcpu_perfstat.c | 136 struct timeval time1, time2 ; in calibrate_idle_rate() local 192 gettimeofday (&time1, &tz); in calibrate_idle_rate() 196 if (time2.tv_usec < time1.tv_usec) 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 158 gettimeofday (&time1, &tz); in calibrate_idle_rate() 162 if (time2.tv_usec < time1.tv_usec) 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 291 gettimeofday (&time1, &tz); in calibrate_idle_rate() 295 if (time2.tv_usec < time1.tv_usec) 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 519 gettimeofday (&time1, &tz); in calibrate_idle_rate() 523 if (time2.tv_usec < time1.tv_usec) 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 3544 gettimeofday(&time1, in cpu_start() 3572 if (time2.tv_usec < time1.tv_usec) { 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 static int MyCompareTime(NFileTimeType::EEnum fileTimeType, const FILETIME &time1, const FILETIME &… in MyCompareTime() argument 22 return ::CompareFileTime(&time1, &time2); in MyCompareTime() 26 FileTimeToUnixTime(time1, unixTime1); in MyCompareTime() 33 FileTimeToDosTime(time1, dosTime1); in MyCompareTime()
|
/external/autotest/client/tests/tracing_microbenchmark/src/ |
D | getuid_microbench.c | 11 const struct timespec *time1, const struct timespec *time2) { in ts_subtract() argument 12 *result = *time1; in ts_subtract()
|
/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 751 long time1 = getUTCMillis(2005, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 861 d1 = a1.getNextStart(time1, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 933 d1 = i1.getNextStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 937 d1 = i1.getPreviousStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 992 d1 = t3.getNextStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 996 d1 = t3.getPreviousStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 1070 long time1 = getUTCMillis(1990, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1078 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1082 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1094 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 750 long time1 = getUTCMillis(2005, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 860 d1 = a1.getNextStart(time1, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 932 d1 = i1.getNextStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 936 d1 = i1.getPreviousStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 991 d1 = t3.getNextStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 995 d1 = t3.getPreviousStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 1069 long time1 = getUTCMillis(1990, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1077 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1081 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1093 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 1206 UDate time1 = getUTCMillis(2005, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local 1322 b1 = a1->getNextStart(time1, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1390 b1 = i1->getNextStart(time1, 0, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1394 b1 = i1->getPreviousStart(time1, 0, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1463 b1 = t3->getNextStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage() 1467 b1 = t3->getPreviousStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage() 1517 UDate time1 = getUTCMillis(1990, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local 1530 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1534 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1565 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() [all …]
|
D | calregts.cpp | 2595 UDate time1 = cal.getTime(ec); // Get time -- should not change in TestWeekShift() local 2622 if (time1 != time2) { in TestWeekShift()
|
/external/autotest/client/deps/glbench/src/ |
D | testbase.cc | 31 uint64_t time1 = GetUTime(); in TimeTest() local 36 return time2 - time1; in TimeTest()
|
/external/libcxx/include/ |
D | ctime | 33 double difftime(time_t time1, time_t time0);
|
/external/dng_sdk/source/ |
D | dng_date_time.cpp | 872 uint64 time1 = (((uint64) localFT.dwHighDateTime) << 32) + localFT.dwLowDateTime; in LocalTimeZone() local 877 int64 time1Sec = time1 / 10000000; in LocalTimeZone()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | localtime.c | 158 static time_t time1(struct tm * tmp, 1860 time1(struct tm *const tmp, in time1() function 1935 return time1(tmp, localsub, 0L); in mktime() 1953 return time1(tmp, gmtsub, 0L); in timegm() 1961 return time1(tmp, gmtsub, offset); in timeoff()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 591 Date time1 = cal.getTime(); // Get time -- should not change in TestWeekShift() local 613 if (!time1.equals(time2)) { in TestWeekShift() 616 logln(time1.toString()); in TestWeekShift()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 590 Date time1 = cal.getTime(); // Get time -- should not change in TestWeekShift() local 612 if (!time1.equals(time2)) { in TestWeekShift() 615 logln(time1.toString()); in TestWeekShift()
|