/external/ltp/utils/ffsb-6.0-rc2/ |
D | util.c | 237 struct timeval starttime, endtime, difftime; in ffsb_sync() local 243 timersub(&endtime, &starttime, &difftime); in ffsb_sync() 244 printf("%ld sec\n", difftime.tv_sec); in ffsb_sync() 318 struct timeval starttime, endtime, junk, difftime; in ffsb_bench_gettimeofday() local 323 timersub(&endtime, &starttime, &difftime); in ffsb_bench_gettimeofday() 324 total_usec = difftime.tv_sec * 1000000; in ffsb_bench_gettimeofday() 325 total_usec += difftime.tv_usec; in ffsb_bench_gettimeofday() 335 struct timeval starttime, endtime, difftime; in ffsb_bench_getpid() local 340 timersub(&endtime, &starttime, &difftime); in ffsb_bench_getpid() 341 total_usec = difftime.tv_sec * 1000000; in ffsb_bench_getpid() [all …]
|
D | main.c | 49 struct timeval curtime, difftime; in ffsb_poll_fn() local 52 timersub(&curtime, &data->starttime, &difftime); in ffsb_poll_fn() 53 if (difftime.tv_sec >= data->wait_time) in ffsb_poll_fn() 65 struct timeval starttime, endtime, difftime; in main() local 119 timersub(&endtime, &starttime, &difftime); in main() 120 printf("fs setup took %ld secs\n", difftime.tv_sec); in main() 180 timersub(&endtime, &pdata.starttime, &difftime); in main() 182 totaltime = tvtodouble(&difftime); in main()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | private.h | 262 # undef difftime 263 # define difftime tz_difftime macro 283 double difftime(time_t, time_t);
|
/external/libcxx/include/ |
D | ctime | 33 double difftime(time_t time1, time_t time0); 61 using ::difftime;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 9-1.c | 65 } while (difftime(t2, t1) <= 2); in child_process() 94 } while (difftime(t2, t1) <= 2); in test_process()
|
/external/dnsmasq/src/ |
D | lease.c | 226 (next_event == 0 || difftime(next_event, lease->expires + 10) > 0.0)) in lease_update_file() 231 if (next_event == 0 || difftime(next_event, LEASE_RETRY + now) > 0.0) in lease_update_file() 236 (unsigned int)difftime(next_event, now)); in lease_update_file() 240 alarm((unsigned)difftime(next_event, now)); in lease_update_file() 271 if ((lease->expires != 0 && difftime(now, lease->expires) > 0) || lease == target) in lease_prune()
|
D | forward.c | 267 difftime(now, daemon->forwardtime) > FORWARD_TIME) in forward_query() 987 if (difftime(now, f->time) >= 4*TIMEOUT) in get_new_frec() 993 if (!oldest || difftime(f->time, oldest->time) <= 0) in get_new_frec() 1005 if (oldest && ((int)difftime(now, oldest->time)) >= TIMEOUT) in get_new_frec() 1009 if (difftime(now, oldest->time) < 2*TIMEOUT && in get_new_frec()
|
D | dnsmasq.c | 568 difftime(now, daemon->last_resolv) > 1.0 || in main() 569 difftime(now, daemon->last_resolv) < -1.0) in main() 825 if (difftime(statbuf.st_mtime, last_change) > 0.0) in poll_resolv() 1172 difftime(now, start) < (float)PING_WAIT;) in icmp_ping()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
D | 18-1-buildonly.c | 20 dummyvar = difftime; in dummyfcn()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/difftime/ |
D | coverage.txt | 1 This file defines the coverage for the difftime() function testing.
|
D | 1-1.c | 27 time_diff = difftime(time0 + 1, time0); in main()
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | time_h.pass.cpp | 30 static_assert((std::is_same<decltype(difftime(t,t)), double>::value), ""); in main()
|
/external/libcxx/test/std/language.support/support.runtime/ |
D | ctime.pass.cpp | 34 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main()
|
/external/libcxx/test/std/utilities/time/date.time/ |
D | ctime.pass.cpp | 34 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main()
|
/external/ltp/utils/benchmark/ebizzy-0.3/ |
D | ebizzy.c | 438 difftime(time(NULL), start_time)); in thread_run() 480 elapsed = difftime(time(NULL), start_time); in start_threads()
|
/external/mesa3d/src/gallium/targets/haiku-softpipe/ |
D | SoftwareRenderer.cpp | 66 difftime(end, beg)); in SoftwareRenderer() 87 __func__, difftime(end, beg)); in SoftwareRenderer()
|
/external/ltp/testcases/kernel/syscalls/fsync/ |
D | fsync02.c | 132 difftime(time_end, time_start)) > TIME_LIMIT) in main()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | filetools.cpp | 119 diff = difftime(modtime1, modtime2); in whichFileModTimeIsLater()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-tcpclient.c | 330 if (timeout < difftime(time(NULL), start_time)) in main()
|
D | ns-mcast_receiver.c | 417 if (info_p->timeout < difftime(time(NULL), start_time)) in receive_mcast()
|
D | ns-udpsender.c | 410 if (udp_p->timeout < difftime(time(NULL), start_time)) in send_udp_datagram()
|
D | ns-igmp_querier.c | 445 if (info_p->timeout < difftime(time(NULL), start_time)) in send_query()
|
/external/toybox/toys/pending/ |
D | last.c | 75 double diff = difftime(tm1, tm0); in seize_duration()
|
/external/curl/docs/examples/ |
D | synctime.c | 315 tzonediffFloat = difftime(tt_local, tt_gmt); in main()
|
/external/skia/third_party/lua/src/ |
D | loslib.c | 267 lua_pushnumber(L, difftime((time_t)(luaL_checknumber(L, 1)), in os_difftime()
|