Searched refs:time1 (Results 1 - 25 of 29) sorted by relevance

12

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/
H A DStressTest.java43 long time1 = System.nanoTime();
46 float duration = (time2 - time1) / 1000000;
50 time1 = System.nanoTime();
53 duration = (time2 - time1) / 1000000;
60 time1 = System.nanoTime();
65 duration = ((time2 - time1) / 1000000) / (float) number;
76 time1 = System.nanoTime();
82 duration = ((time2 - time1) / 1000000) / (float) number;
H A DStressEmitterTest.java41 long time1 = System.nanoTime();
44 float duration = (time2 - time1) / 1000000;
50 time1 = System.nanoTime();
55 duration = ((time2 - time1) / 1000000) / (float) number;
65 time1 = System.nanoTime();
71 duration = ((time2 - time1) / 1000000) / (float) number;
H A DParallelTest.java59 long time1 = System.nanoTime();
66 float duration = ((time2 - time1) / 1000000) / (float) cycles;
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
H A Dtest-cmpxchg-nolock.c48 cycles_t time1, time2, time; local
53 time1 = get_cycles();
60 time = time2 - time1;
75 cycles_t time1, time2, time; local
80 time1 = get_cycles();
91 time = time2 - time1;
106 cycles_t time1, time2, time; local
111 time1 = get_cycles();
118 time = time2 - time1;
133 cycles_t time1, time local
161 cycles_t time1, time2, time; local
191 cycles_t time1, time2, time; local
218 cycles_t time1, time2, time; local
246 cycles_t time1, time2, time; local
[all...]
/external/ltp/testcases/kernel/fs/lftest/
H A Dlftest.c48 time_t time1, time2; local
51 time1 = time(NULL);
59 asctime(localtime(&time1)));
87 diff = time2 - time1;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/
H A D1-1.c24 3. Obtain time1.
26 5. Obtain time2, and find the difference between time2 and time1.
27 6. Verify that (time2-time1) is equal to SIGTIMEDWAITSEC within a reasonable
61 struct timeval time1, time2; local
100 if (gettimeofday(&time1, NULL) == -1) {
114 time_elapsed = (time2.tv_sec - time1.tv_sec
115 + (time2.tv_usec - time1.tv_usec) / 1000000.0);
H A D2-1.c24 3. Obtain time1.
27 5. Obtain time2, and find the difference between time2 and time1.
28 6. Verify that (time2-time1) is equal to SIGTIMEDWAITSEC within a reasonable
62 struct timeval time1, time2; local
101 if (gettimeofday(&time1, NULL) == -1) {
115 time_elapsed = (time2.tv_sec - time1.tv_sec
116 + (time2.tv_usec - time1.tv_usec) / 1000000.0);
/external/autotest/client/tests/tracing_microbenchmark/src/
H A Dgetuid_microbench.c11 const struct timespec *time1, const struct timespec *time2) {
12 *result = *time1;
10 ts_subtract(struct timespec *result, const struct timespec *time1, const struct timespec *time2) argument
/external/chromium-trace/catapult/common/lab/
H A Dcommits.py80 for time1, time2 in Pairwise(commit_times):
81 commit_durations.append((time1 - time2).total_seconds())
/external/netperf/src/
H A Dnetcpu_kstat.c270 struct timeval time1, time2 ; local
291 gettimeofday (&time1, &tz);
295 if (time2.tv_usec < time1.tv_usec)
300 sec = time2.tv_sec - time1.tv_sec;
301 usec = time2.tv_usec - time1.tv_usec;
H A Dnetcpu_perfstat.c136 struct timeval time1, time2 ; local
192 gettimeofday (&time1, &tz);
196 if (time2.tv_usec < time1.tv_usec)
201 sec = time2.tv_sec - time1.tv_sec;
202 usec = time2.tv_usec - time1.tv_usec;
H A Dnetcpu_pstat.c121 struct timeval time1, time2; local
158 gettimeofday (&time1, &tz);
162 if (time2.tv_usec < time1.tv_usec)
167 sec = time2.tv_sec - time1.tv_sec;
168 usec = time2.tv_usec - time1.tv_usec;
H A Dnetcpu_looper.c506 struct timeval time1, time2 ;
520 gettimeofday (&time1, &tz);
524 if (time2.tv_usec < time1.tv_usec)
529 sec = time2.tv_sec - time1.tv_sec;
530 usec = time2.tv_usec - time1.tv_usec;
505 struct timeval time1, time2 ; local
H A Dnetlib.c207 struct timeval time1, time2; variable in typeref:struct:timeval
3569 gettimeofday(&time1,
3598 if (time2.tv_usec < time1.tv_usec) {
3603 sec = time2.tv_sec - time1.tv_sec;
3604 usec = time2.tv_usec - time1.tv_usec;
/external/lzma/CPP/7zip/UI/Common/
H A DUpdatePair.cpp17 static int MyCompareTime(NFileTimeType::EEnum fileTimeType, const FILETIME &time1, const FILETIME &time2) argument
22 return ::CompareFileTime(&time1, &time2);
26 FileTimeToUnixTime(time1, unixTime1);
33 FileTimeToDosTime(time1, dosTime1);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java751 long time1 = getUTCMillis(2005, Calendar.JULY, 4);
861 d1 = a1.getNextStart(time1, -3*HOUR, 0, false);
933 d1 = i1.getNextStart(time1, 0, 0, false);
937 d1 = i1.getPreviousStart(time1, 0, 0, false);
992 d1 = t3.getNextStart(time1, -3*HOUR, 1*HOUR, false);
996 d1 = t3.getPreviousStart(time1, -3*HOUR, 1*HOUR, false);
1070 long time1 = getUTCMillis(1990, Calendar.JUNE, 1);
1078 tzt1 = stz1.getNextTransition(time1, false);
1082 tzt1 = stz1.getPreviousTransition(time1, false);
1094 tzt1 = stz1.getNextTransition(time1, fals
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java750 long time1 = getUTCMillis(2005, Calendar.JULY, 4);
860 d1 = a1.getNextStart(time1, -3*HOUR, 0, false);
932 d1 = i1.getNextStart(time1, 0, 0, false);
936 d1 = i1.getPreviousStart(time1, 0, 0, false);
991 d1 = t3.getNextStart(time1, -3*HOUR, 1*HOUR, false);
995 d1 = t3.getPreviousStart(time1, -3*HOUR, 1*HOUR, false);
1069 long time1 = getUTCMillis(1990, Calendar.JUNE, 1);
1077 tzt1 = stz1.getNextTransition(time1, false);
1081 tzt1 = stz1.getPreviousTransition(time1, false);
1093 tzt1 = stz1.getNextTransition(time1, fals
[all...]
/external/autotest/client/deps/glbench/src/
H A Dtestbase.cc31 uint64_t time1 = GetUTime(); local
36 return time2 - time1;
/external/dng_sdk/source/
H A Ddng_date_time.cpp872 uint64 time1 = (((uint64) localFT.dwHighDateTime) << 32) + localFT.dwLowDateTime; local
877 int64 time1Sec = time1 / 10000000;
/external/icu/icu4c/source/test/intltest/
H A Dtzrulets.cpp1206 UDate time1 = getUTCMillis(2005, UCAL_JULY, 4); local
1322 b1 = a1->getNextStart(time1, -3*HOUR, 0, FALSE, d1);
1390 b1 = i1->getNextStart(time1, 0, 0, FALSE, d1);
1394 b1 = i1->getPreviousStart(time1, 0, 0, FALSE, d1);
1463 b1 = t3->getNextStart(time1, -3*HOUR, 1*HOUR, FALSE, d1);
1467 b1 = t3->getPreviousStart(time1, -3*HOUR, 1*HOUR, FALSE, d1);
1517 UDate time1 = getUTCMillis(1990, UCAL_JUNE, 1); local
1530 avail1 = stz1->getNextTransition(time1, FALSE, tzt1);
1534 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1);
1565 avail1 = stz1->getNextTransition(time1, FALS
1754 UDate time1 = getUTCMillis(1950, UCAL_JANUARY, 1); local
[all...]
H A Dcalregts.cpp2595 UDate time1 = cal.getTime(ec); // Get time -- should not change local
2622 if (time1 != time2) {
2625 // logln(time1);
/external/icu/icu4c/source/tools/tzcode/
H A Dlocaltime.c158 static time_t time1(struct tm * tmp,
1860 time1(struct tm *const tmp, function
1935 return time1(tmp, localsub, 0L);
1953 return time1(tmp, gmtsub, 0L);
1961 return time1(tmp, gmtsub, offset);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
H A DIBMCalendarTest.java591 Date time1 = cal.getTime(); // Get time -- should not change
613 if (!time1.equals(time2)) {
616 logln(time1.toString());
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DIBMCalendarTest.java590 Date time1 = cal.getTime(); // Get time -- should not change
612 if (!time1.equals(time2)) {
615 logln(time1.toString());
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDateFormatTest.java4031 long time1 = parsedate.getTime();
4033 if ( time1 != time2 ) {

Completed in 1423 milliseconds

12