/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/iperf3/src/ |
D | iperf_time.c | 103 iperf_time_compare(struct iperf_time *time1, struct iperf_time *time2) in iperf_time_compare() argument 105 if (time1->secs < time2->secs) in iperf_time_compare() 107 if (time1->secs > time2->secs) in iperf_time_compare() 109 if (time1->usecs < time2->usecs) in iperf_time_compare() 111 if (time1->usecs > time2->usecs) in iperf_time_compare() 125 iperf_time_diff(struct iperf_time *time1, struct iperf_time *time2, struct iperf_time *diff) in iperf_time_diff() argument 130 cmp = iperf_time_compare(time1, time2); in iperf_time_diff() 137 diff->secs = time1->secs - time2->secs; in iperf_time_diff() 139 if (diff->usecs < time2->usecs) { in iperf_time_diff() 143 diff->usecs = diff->usecs - time2->usecs; in iperf_time_diff() [all …]
|
D | iperf_time.h | 41 int iperf_time_compare(struct iperf_time *time1, struct iperf_time *time2); 43 int iperf_time_diff(struct iperf_time *time1, struct iperf_time *time2, struct iperf_time *diff);
|
D | iperf_util.c | 178 double time1, time2; in timeval_diff() local 181 time2 = tv1->tv_sec + (tv1->tv_usec / 1000000.0); in timeval_diff() 183 time1 = time1 - time2; in timeval_diff()
|
/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/u-boot/drivers/rtc/ |
D | ds1374.c | 86 unsigned long time1, time2; in rtc_get() local 106 time2 = 0; in rtc_get() 109 time2 = (time2 << 8) | (tmp & 0xff); in rtc_get() 111 } while ((time1 != time2) && limit--); in rtc_get() 113 if (time1 != time2) { in rtc_get()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
D | 1-1.c | 60 struct timeval time1, time2; in main() local 108 if (gettimeofday(&time2, NULL) == -1) { in main() 113 time_elapsed = (time2.tv_sec - time1.tv_sec in main() 114 + (time2.tv_usec - time1.tv_usec) / 1000000.0); in main()
|
D | 2-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/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/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/libaom/libaom/test/ |
D | blend_a64_mask_test.cc | 185 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in Execute() local 188 time1, time2); in Execute() 189 printf("(%3.2f)\n", time1 / time2); in Execute() 299 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in Execute() local 302 time1, time2); in Execute() 303 printf("(%3.2f)\n", time1 / time2); in Execute() 397 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in Execute() local 400 time1, time2); in Execute() 401 printf("(%3.2f)\n", time1 / time2); in Execute() 511 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in Execute() local [all …]
|
D | masked_sad_test.cc | 99 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in runMaskedSADTest() local 101 printf("%7.2f/%7.2fns", time1, time2); in runMaskedSADTest() 102 printf("(%3.2f)\n", time1 / time2); in runMaskedSADTest() 190 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in runHighbdMaskedSADTest() local 192 printf("%7.2f/%7.2fns", time1, time2); in runHighbdMaskedSADTest() 193 printf("(%3.2f)\n", time1 / time2); in runHighbdMaskedSADTest()
|
D | horver_correlation_test.cc | 100 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunHorverSpeedTest() local 102 printf("%3dx%-3d:%7.2f/%7.2fns (%3.2f)\n", w, h, time1, time2, in RunHorverSpeedTest() 103 time1 / time2); in RunHorverSpeedTest()
|
D | pickrst_test.cc | 121 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunPixelProjErrorTest() local 124 params.r[1], h_end, v_end, time1, time2, time1 / time2); in RunPixelProjErrorTest() 286 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunPixelProjErrorTest() local 289 params.r[1], h_end, v_end, time1, time2, time1 / time2); in RunPixelProjErrorTest()
|
D | av1_nn_predict_test.cc | 168 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunNnPredictSpeedTest() local 174 printf("%7.2f/%7.2fns (%3.2f)\n", time1, time2, time1 / time2); in RunNnPredictSpeedTest()
|
D | wiener_test.cc | 181 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunWienerTest() local 184 time2); in RunWienerTest() 185 printf("(%3.2f)\n", time1 / time2); in RunWienerTest() 461 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunWienerTest() local 464 h_end, v_end, time1, time2); in RunWienerTest() 465 printf("(%3.2f)\n", time1 / time2); in RunWienerTest()
|
/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowChoreographerTest.java | 25 long time2 = instance.getFrameTimeNanos(); in setFrameInterval_shouldUpdateFrameInterval() local 27 assertThat(time2 - time1).isEqualTo(frameInterval); in setFrameInterval_shouldUpdateFrameInterval()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | KeepAliveEnforcer.java | 98 private static long compareNanos(long time1, long time2) { in compareNanos() argument 100 return time1 - time2; in compareNanos()
|
/external/chromium-trace/catapult/common/lab/ |
D | commits.py | 84 for time1, time2 in Pairwise(commit_times): 87 commit_durations.append((time1 - time2).total_seconds() / 60.)
|
/external/ltp/testcases/cve/ |
D | meltdown.c | 148 unsigned long long time1, time2; in get_access_time() local 156 rdtscll(time2); in get_access_time() 158 return time2 - time1; in get_access_time()
|
/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/autotest/client/deps/glbench/src/ |
D | testbase.cc | 34 uint64_t time2 = GetUTime(); in TimeTest() local 35 return time2 - time1; in TimeTest()
|