Home
last modified time | relevance | path

Searched refs:time1 (Results 1 – 25 of 27) sorted by relevance

12

/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
Dtest-cmpxchg-nolock.c48 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/
DStressTest.java43 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()
DStressEmitterTest.java41 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()
DParallelTest.java59 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/
D2-1.c62 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()
D1-1.c61 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/
Dlftest.c48 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/
Dnetcpu_perfstat.c136 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()
Dnetcpu_pstat.c121 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()
Dnetcpu_kstat.c270 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()
Dnetcpu_looper.c505 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()
Dnetlib.c207 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/
DUpdatePair.cpp17 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/
Dgetuid_microbench.c11 const struct timespec *time1, const struct timespec *time2) { in ts_subtract() argument
12 *result = *time1; in ts_subtract()
/external/chromium-trace/catapult/common/lab/
Dcommits.py80 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/
DTimeZoneRuleTest.java751 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/
DTimeZoneRuleTest.java750 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/
Dtzrulets.cpp1206 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 …]
Dcalregts.cpp2595 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/
Dtestbase.cc31 uint64_t time1 = GetUTime(); in TimeTest() local
36 return time2 - time1; in TimeTest()
/external/libcxx/include/
Dctime33 double difftime(time_t time1, time_t time0);
/external/dng_sdk/source/
Ddng_date_time.cpp872 uint64 time1 = (((uint64) localFT.dwHighDateTime) << 32) + localFT.dwLowDateTime; in LocalTimeZone() local
877 int64 time1Sec = time1 / 10000000; in LocalTimeZone()
/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c158 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/
DIBMCalendarTest.java591 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/
DIBMCalendarTest.java590 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()

12