/external/linux-tools-perf/bench/ |
mem-memcpy.c | 141 struct timeval tv_start, tv_end, tv_diff; local 149 gettimeofday(&tv_start, NULL); 153 timersub(&tv_end, &tv_start, &tv_diff);
|
/external/mdnsresponder/mDNSPosix/ |
NetMonitor.c | 128 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); [all...] |
/external/chromium/third_party/libevent/test/ |
regress.c | 915 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); [all...] |
regress_http.c | 1273 struct timeval tv_start, tv_end; local 1298 evutil_gettimeofday(&tv_start, NULL); 1303 evutil_timersub(&tv_end, &tv_start, &tv_end);
|