Home
last modified time | relevance | path

Searched refs:difftime (Results 1 – 25 of 35) sorted by relevance

12

/external/ltp/utils/ffsb-6.0-rc2/
Dutil.c237 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 …]
Dmain.c49 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/
Dprivate.h262 # undef difftime
263 # define difftime tz_difftime macro
283 double difftime(time_t, time_t);
/external/libcxx/include/
Dctime35 double difftime(time_t time1, time_t time0);
66 using ::difftime;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
D9-1.c65 } while (difftime(t2, t1) <= 2); in child_process()
94 } while (difftime(t2, t1) <= 2); in test_process()
/external/dnsmasq/src/
Dlease.c204 (next_event == 0 || difftime(next_event, lease->expires + 10) > 0.0)) in lease_update_file()
208 if (next_event == 0 || difftime(next_event, LEASE_RETRY + now) > 0.0) in lease_update_file()
212 strerror(err), (unsigned int) difftime(next_event, now)); in lease_update_file()
215 if (next_event != 0) alarm((unsigned) difftime(next_event, now)); in lease_update_file()
240 if ((lease->expires != 0 && difftime(now, lease->expires) > 0) || lease == target) { in lease_prune()
Dforward.c236 difftime(now, daemon->forwardtime) > FORWARD_TIME) { in forward_query()
852 if (difftime(now, f->time) >= 4 * TIMEOUT) { in get_new_frec()
857 if (!oldest || difftime(f->time, oldest->time) <= 0) oldest = f; in get_new_frec()
867 if (oldest && ((int) difftime(now, oldest->time)) >= TIMEOUT) { in get_new_frec()
870 if (difftime(now, oldest->time) < 2 * TIMEOUT && count <= daemon->ftabsize && in get_new_frec()
Ddnsmasq.c536 if (daemon->last_resolv == 0 || difftime(now, daemon->last_resolv) > 1.0 || in main()
537 difftime(now, daemon->last_resolv) < -1.0) { in main()
756 if (difftime(statbuf.st_mtime, last_change) > 0.0) { in poll_resolv()
1056 for (now = start = dnsmasq_time(); difftime(now, start) < (float) PING_WAIT;) { in icmp_ping()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D18-1-buildonly.c20 dummyvar = difftime; in dummyfcn()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/difftime/
Dcoverage.txt1 This file defines the coverage for the difftime() function testing.
D1-1.c27 time_diff = difftime(time0 + 1, time0); in main()
/external/libcxx/test/std/depr/depr.c.headers/
Dtime_h.pass.cpp30 static_assert((std::is_same<decltype(difftime(t,t)), double>::value), ""); in main()
/external/ltp/utils/benchmark/ebizzy-0.3/
Debizzy.c438 difftime(time(NULL), start_time)); in thread_run()
480 elapsed = difftime(time(NULL), start_time); in start_threads()
/external/libcxx/test/std/utilities/time/date.time/
Dctime.pass.cpp51 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main()
/external/libcxx/test/std/language.support/support.runtime/
Dctime.pass.cpp45 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main()
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DSoftwareRenderer.cpp66 difftime(end, beg)); in SoftwareRenderer()
87 __func__, difftime(end, beg)); in SoftwareRenderer()
/external/ltp/testcases/kernel/syscalls/fsync/
Dfsync02.c133 difftime(time_end, time_start)) > TIME_LIMIT) in main()
/external/icu/icu4c/source/tools/toolutil/
Dfiletools.cpp119 diff = difftime(modtime1, modtime2); in whichFileModTimeIsLater()
/external/ltp/testcases/network/stress/ns-tools/
Dns-tcpclient.c330 if (timeout < difftime(time(NULL), start_time)) in main()
Dns-mcast_receiver.c417 if (info_p->timeout < difftime(time(NULL), start_time)) in receive_mcast()
Dns-udpsender.c410 if (udp_p->timeout < difftime(time(NULL), start_time)) in send_udp_datagram()
Dns-igmp_querier.c445 if (info_p->timeout < difftime(time(NULL), start_time)) in send_query()
/external/toybox/toys/pending/
Dlast.c75 double diff = difftime(tm1, tm0); in seize_duration()
/external/curl/docs/examples/
Dsynctime.c319 tzonediffFloat = difftime(tt_local, tt_gmt); in main()
/external/lua/src/
Dloslib.c354 lua_pushnumber(L, (lua_Number)difftime(t1, t2)); in os_difftime()

12