/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/netperf/src/ |
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_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_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/experimental/ |
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 | 743 long time1 = getUTCMillis(2005, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 853 d1 = a1.getNextStart(time1, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 925 d1 = i1.getNextStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 929 d1 = i1.getPreviousStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 984 d1 = t3.getNextStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 988 d1 = t3.getPreviousStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 1061 long time1 = getUTCMillis(1990, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1069 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1073 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1085 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 739 long time1 = getUTCMillis(2005, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 849 d1 = a1.getNextStart(time1, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 921 d1 = i1.getNextStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 925 d1 = i1.getPreviousStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 980 d1 = t3.getNextStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 984 d1 = t3.getPreviousStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 1057 long time1 = getUTCMillis(1990, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1065 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1069 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1081 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() [all …]
|
/external/autotest/client/deps/glbench/src/ |
D | testbase.cc | 30 uint64_t time1 = GetUTime(); in TimeTest() local 35 return time2 - time1; in TimeTest()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 1204 UDate time1 = getUTCMillis(2005, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local 1320 b1 = a1->getNextStart(time1, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1388 b1 = i1->getNextStart(time1, 0, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1392 b1 = i1->getPreviousStart(time1, 0, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1461 b1 = t3->getNextStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage() 1465 b1 = t3->getPreviousStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage() 1515 UDate time1 = getUTCMillis(1990, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local 1528 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1532 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1563 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() [all …]
|
D | calregts.cpp | 2593 UDate time1 = cal.getTime(ec); // Get time -- should not change in TestWeekShift() local 2620 if (time1 != time2) { in TestWeekShift()
|
/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/libweave/src/ |
D | component_manager_unittest.cc | 1185 base::Time time1 = base::Time::Now(); in TEST_F() local 1186 EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(time1)); in TEST_F() 1203 base::Time time2 = time1 + base::TimeDelta::FromSeconds(1); in TEST_F() 1215 EXPECT_EQ(time1, snapshot.state_changes[0].timestamp); in TEST_F() 1220 EXPECT_EQ(time1, snapshot.state_changes[1].timestamp); in TEST_F()
|
/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/v8/test/cctest/heap/ |
D | test-heap.cc | 6158 int time1 = 100; in TEST() local 6160 tracer->SampleAllocation(time1, counter1, 0); in TEST() 6166 CHECK_EQ((counter2 - counter1) / (time2 - time1), throughput); in TEST() 6171 CHECK_EQ((counter3 - counter1) / (time3 - time1), throughput); in TEST() 6181 int time1 = 100; in TEST() local 6183 tracer->SampleAllocation(time1, counter1, 0); in TEST() 6189 CHECK_EQ((counter2 - counter1) / (time2 - time1), throughput); in TEST() 6194 CHECK_EQ((counter3 - counter1) / (time3 - time1), throughput); in TEST() 6294 int time1 = 100; in TEST() local 6296 tracer->SampleAllocation(time1, 0, counter1); in TEST() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 578 Date time1 = cal.getTime(); // Get time -- should not change in TestWeekShift() local 600 if (!time1.equals(time2)) { in TestWeekShift() 603 logln(time1.toString()); in TestWeekShift()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 582 Date time1 = cal.getTime(); // Get time -- should not change in TestWeekShift() local 604 if (!time1.equals(time2)) { in TestWeekShift() 607 logln(time1.toString()); in TestWeekShift()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 3975 long time1 = parsedate.getTime(); in TestFormalChineseDate() local 3977 if ( time1 != time2 ) { in TestFormalChineseDate()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 3971 long time1 = parsedate.getTime(); in TestFormalChineseDate() local 3973 if ( time1 != time2 ) { in TestFormalChineseDate()
|