Searched defs:tv_start (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dfrag_unittest.cc100 struct timeval tv_start = r.ru_utime; local
102 long long int tv_start = GetTickCount(); local
116 int64 sumsec = static_cast<int64>(tv_end.tv_sec) - tv_start.tv_sec;
117 int64 sumusec = static_cast<int64>(tv_end.tv_usec) - tv_start.tv_usec;
120 int64 sumsec = (tv_end - tv_start) / 1000;
122 int64 sumusec = ((tv_end - tv_start) % 1000) * 1000;
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dfrag_unittest.cc100 struct timeval tv_start = r.ru_utime; local
102 long long int tv_start = GetTickCount(); local
116 int64 sumsec = static_cast<int64>(tv_end.tv_sec) - tv_start.tv_sec;
117 int64 sumusec = static_cast<int64>(tv_end.tv_usec) - tv_start.tv_usec;
120 int64 sumsec = (tv_end - tv_start) / 1000;
122 int64 sumusec = ((tv_end - tv_start) % 1000) * 1000;
/external/linux-tools-perf/bench/
H A Dmem-memcpy.c141 struct timeval tv_start, tv_end, tv_diff; local
149 gettimeofday(&tv_start, NULL);
153 timersub(&tv_end, &tv_start, &tv_diff);
/external/chromium/third_party/libevent/test/
H A Dregress_http.c1273 struct timeval tv_start, tv_end; local
1298 evutil_gettimeofday(&tv_start, NULL);
1303 evutil_timersub(&tv_end, &tv_start, &tv_end);
H A Dregress.c915 struct timeval tv, tv_start, tv_end; local
929 evutil_gettimeofday(&tv_start, NULL);
932 evutil_timersub(&tv_end, &tv_start, &tv_end);
1504 struct timeval tv_start, tv_end; local
1522 evutil_gettimeofday(&tv_start, NULL);
1558 evutil_timersub(&tv_end, &tv_start, &tv_end);
/external/chromium_org/third_party/libevent/test/
H A Dregress_http.c1273 struct timeval tv_start, tv_end; local
1298 evutil_gettimeofday(&tv_start, NULL);
1303 evutil_timersub(&tv_end, &tv_start, &tv_end);
H A Dregress.c915 struct timeval tv, tv_start, tv_end; local
929 evutil_gettimeofday(&tv_start, NULL);
932 evutil_timersub(&tv_end, &tv_start, &tv_end);
1504 struct timeval tv_start, tv_end; local
1522 evutil_gettimeofday(&tv_start, NULL);
1558 evutil_timersub(&tv_end, &tv_start, &tv_end);
/external/mdnsresponder/mDNSPosix/
H A DNetMonitor.c128 struct timeval tv_start, tv_end, tv_interval; variable in typeref:struct:timeval
836 gettimeofday(&tv_start, NULL);
865 if (tv_start.tv_usec > tv_interval.tv_usec)
867 tv_interval.tv_sec -= tv_start.tv_sec;
868 tv_interval.tv_usec -= tv_start.tv_usec;
885 localtime_r((time_t*)&tv_start.tv_sec, &tm);
886 mprintf("Started %3d:%02d:%02d.%06d\n", tm.tm_hour, tm.tm_min, tm.tm_sec, tv_start.tv_usec);

Completed in 2048 milliseconds