Home
last modified time | relevance | path

Searched refs:tv_end (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dfrag_unittest.cc115 struct timeval tv_end = r.ru_utime; in main() local
116 int64 sumsec = static_cast<int64>(tv_end.tv_sec) - tv_start.tv_sec; in main()
117 int64 sumusec = static_cast<int64>(tv_end.tv_usec) - tv_start.tv_usec; in main()
119 long long int tv_end = GetTickCount(); in main() local
120 int64 sumsec = (tv_end - tv_start) / 1000; in main()
122 int64 sumusec = ((tv_end - tv_start) % 1000) * 1000; in main()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dfrag_unittest.cc115 struct timeval tv_end = r.ru_utime; in main() local
116 int64 sumsec = static_cast<int64>(tv_end.tv_sec) - tv_start.tv_sec; in main()
117 int64 sumusec = static_cast<int64>(tv_end.tv_usec) - tv_start.tv_usec; in main()
119 long long int tv_end = GetTickCount(); in main() local
120 int64 sumsec = (tv_end - tv_start) / 1000; in main()
122 int64 sumusec = ((tv_end - tv_start) % 1000) * 1000; in main()
/external/linux-tools-perf/perf-3.12.0/tools/perf/bench/
Dmem-memset.c140 struct timeval tv_start, tv_end, tv_diff; in do_memset_gettimeofday() local
152 BUG_ON(gettimeofday(&tv_end, NULL)); in do_memset_gettimeofday()
154 timersub(&tv_end, &tv_start, &tv_diff); in do_memset_gettimeofday()
Dmem-memcpy.c147 struct timeval tv_start, tv_end, tv_diff; in do_memcpy_gettimeofday() local
159 BUG_ON(gettimeofday(&tv_end, NULL)); in do_memcpy_gettimeofday()
161 timersub(&tv_end, &tv_start, &tv_diff); in do_memcpy_gettimeofday()
/external/chromium_org/third_party/libevent/test/
Dregress.c915 struct timeval tv, tv_start, tv_end; in test_loopexit() local
931 evutil_gettimeofday(&tv_end, 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
1557 evutil_gettimeofday(&tv_end, NULL); in rpc_test()
1558 evutil_timersub(&tv_end, &tv_start, &tv_end); in rpc_test()
1560 (float)tv_end.tv_sec/(float)i * 1000000.0 + in rpc_test()
1561 tv_end.tv_usec / (float)i); in rpc_test()
Dregress_http.c1273 struct timeval tv_start, tv_end; in http_chunked_test() local
1302 evutil_gettimeofday(&tv_end, NULL); in http_chunked_test()
1303 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_chunked_test()
1305 if (tv_end.tv_sec >= 1) { in http_chunked_test()
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c128 struct timeval tv_start, tv_end, tv_interval; variable
863 gettimeofday(&tv_end, NULL); in mDNSNetMonitor()
864 tv_interval = tv_end; in mDNSNetMonitor()
887 localtime_r((time_t*)&tv_end.tv_sec, &tm); in mDNSNetMonitor()
888 mprintf("End %3d:%02d:%02d.%06d\n", tm.tm_hour, tm.tm_min, tm.tm_sec, tv_end.tv_usec); in mDNSNetMonitor()