/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);
|
/external/python/pybind11/tests/ |
D | test_chrono.py | 53 time2 = datetime2.time() 58 assert isinstance(time2, datetime.time) 72 assert time2.hour == 0 73 assert time2.minute == 0 74 assert time2.second == 0 75 assert time2.microsecond == 0 112 time2 = datetime2.time() 117 assert isinstance(time2, datetime.time) 120 assert time1.hour == time2.hour 121 assert time1.minute == time2.minute [all …]
|
/external/javassist/src/test/test1/ |
D | BenchProceedNew.java | 23 long time2 = System.currentTimeMillis(); in org0() local 25 return (int)(time2 - time); in org0() 34 long time2 = System.currentTimeMillis(); in jvst0() local 36 return (int)(time2 - time); in jvst0() 45 long time2 = System.currentTimeMillis(); in org2() local 47 return (int)(time2 - time); in org2() 56 long time2 = System.currentTimeMillis(); in jvst2() local 58 return (int)(time2 - time); in jvst2()
|
D | BenchStaticMethod.java | 24 long time2 = System.currentTimeMillis(); in test() local 25 return (int)(time2 - time); in test() 33 long time2 = System.currentTimeMillis(); in orgTest() local 34 return (int)(time2 - time); in orgTest() 44 long time2 = System.currentTimeMillis(); in handTest() local 45 return (int)(time2 - time); in handTest()
|
D | BenchProceed.java | 29 long time2 = System.currentTimeMillis(); in p() local 30 return (int)(time2 - time); in p() 38 long time2 = System.currentTimeMillis(); in q() local 39 return (int)(time2 - time); in q()
|
/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
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()
|
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()
|
/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/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/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 | horver_correlation_test.cc | 102 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunHorverSpeedTest() local 104 printf("%3dx%-3d:%7.2f/%7.2fns (%3.2f)\n", w, h, time1, time2, in RunHorverSpeedTest() 105 time1 / time2); in RunHorverSpeedTest()
|
D | pickrst_test.cc | 122 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunPixelProjErrorTest() local 125 params.r[1], h_end, v_end, time1, time2, time1 / time2); in RunPixelProjErrorTest() 287 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunPixelProjErrorTest() local 290 params.r[1], h_end, v_end, time1, time2, time1 / time2); in RunPixelProjErrorTest() 459 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunGetProjSubspaceTest() local 462 params.r[1], h_end, v_end, time1, time2, time1 / time2); in RunGetProjSubspaceTest()
|
D | av1_nn_predict_test.cc | 170 const double time2 = static_cast<double>(aom_usec_timer_elapsed(&timer)); in RunNnPredictSpeedTest() local 176 printf("%7.2f/%7.2fns (%3.2f)\n", time1, time2, time1 / time2); in RunNnPredictSpeedTest()
|
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | extended_reports_unittest.cc | 34 bool operator==(const ReceiveTimeInfo& time1, const ReceiveTimeInfo& time2) { in operator ==() argument 35 return time1.ssrc == time2.ssrc && time1.last_rr == time2.last_rr && in operator ==() 36 time1.delay_since_last_rr == time2.delay_since_last_rr; in operator ==()
|
/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/OpenCL-CTS/test_conformance/compiler/ |
D | test_compile.cpp | 230 timeval time1, time2; in test_large_compile() local 244 gettimeofday(&time2, NULL); in test_large_compile() 245 …log_perf( (float)(float)(time2.tv_sec - time1.tv_sec) + 1.0e-6 * (time2.tv_usec - time1.tv_usec) … in test_large_compile() 402 timeval time1, time2; in test_multi_file_libraries() local 416 gettimeofday(&time2, NULL); in test_multi_file_libraries() 417 …log_perf( (float)(float)(time2.tv_sec - time1.tv_sec) + 1.0e-6 * (time2.tv_usec - time1.tv_usec) … in test_multi_file_libraries() 585 timeval time1, time2; in test_multiple_embedded_headers() local 599 gettimeofday(&time2, NULL); in test_multiple_embedded_headers() 600 …log_perf( (float)(float)(time2.tv_sec - time1.tv_sec) + 1.0e-6 * (time2.tv_usec - time1.tv_usec) … in test_multiple_embedded_headers() 755 timeval time1, time2; in test_multiple_libraries() local [all …]
|
/external/ltp/testcases/cve/ |
D | meltdown.c | 134 unsigned long long time1, time2; in get_access_time() local 142 rdtscll(time2); in get_access_time() 144 return time2 - time1; in get_access_time()
|