Home
last modified time | relevance | path

Searched refs:tv_start (Results 1 – 5 of 5) sorted by relevance

/external/linux-tools-perf/bench/
Dmem-memcpy.c141 struct timeval tv_start, tv_end, tv_diff; in do_memcpy_gettimeofday() local
149 gettimeofday(&tv_start, NULL); in do_memcpy_gettimeofday()
153 timersub(&tv_end, &tv_start, &tv_diff); in do_memcpy_gettimeofday()
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c128 struct timeval tv_start, tv_end, tv_interval; variable
836 gettimeofday(&tv_start, NULL); in mDNSNetMonitor()
865 if (tv_start.tv_usec > tv_interval.tv_usec) in mDNSNetMonitor()
867 tv_interval.tv_sec -= tv_start.tv_sec; in mDNSNetMonitor()
868 tv_interval.tv_usec -= tv_start.tv_usec; in mDNSNetMonitor()
885 localtime_r((time_t*)&tv_start.tv_sec, &tm); in mDNSNetMonitor()
886 mprintf("Started %3d:%02d:%02d.%06d\n", tm.tm_hour, tm.tm_min, tm.tm_sec, tv_start.tv_usec); in mDNSNetMonitor()
/external/chromium/third_party/libevent/test/
Dregress.c915 struct timeval tv, tv_start, tv_end; in test_loopexit() local
929 evutil_gettimeofday(&tv_start, NULL); in test_loopexit()
932 evutil_timersub(&tv_end, &tv_start, &tv_end); in test_loopexit()
1504 struct timeval tv_start, tv_end; in rpc_test() local
1522 evutil_gettimeofday(&tv_start, NULL); in rpc_test()
1558 evutil_timersub(&tv_end, &tv_start, &tv_end); in rpc_test()
Dregress_http.c1273 struct timeval tv_start, tv_end; in http_chunked_test() local
1298 evutil_gettimeofday(&tv_start, NULL); in http_chunked_test()
1303 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_chunked_test()
/external/linux-tools-perf/
Dandroid.patch53 - BUG_ON(gettimeofday(&tv_start, NULL));
54 + gettimeofday(&tv_start, NULL);
59 timersub(&tv_end, &tv_start, &tv_diff);