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

/dovecot/src/plugins/fts-squat/
H A Dsquat-test.c53 struct timeval tv_start, tv_end; local
63 gettimeofday(&tv_start, NULL);
146 timeval_diff_msecs(&tv_end, &tv_start)/1000.0,
180 gettimeofday(&tv_start, NULL);
189 timeval_diff_usecs(&tv_end, &tv_start)/1000000.0);
/dovecot/src/lib/
H A Dtest-ioloop.c97 struct timeval tv_start, tv_callback; local
119 if (gettimeofday(&tv_start, NULL) < 0)
122 test_assert(timeval_diff_msecs(&tv_callback, &tv_start) >= 500);
/dovecot/src/stats/
H A Dstats-metrics.c147 struct timeval tv_start, tv_end; local
151 event_get_create_time(event, &tv_start);
152 duration = timeval_diff_usecs(&tv_end, &tv_start);
/dovecot/src/master/
H A Dservice-monitor.c565 struct timeval tv_start; local
569 tv_start = ioloop_timeval;
582 timeval_diff_msecs(&ioloop_timeval, &tv_start) > MAX_DIE_WAIT_MSECS)
/dovecot/src/lib-sql/
H A Ddriver-pgsql.c218 struct timeval tv_start; local
224 tv_start = ioloop_timeval;
242 msecs = timeval_diff_msecs(&ioloop_timeval, &tv_start);
/dovecot/src/lib-dict/
H A Ddict-client.c874 struct timeval tv_start, tv_end; local
894 str_to_time(extra_args[0], &tv_start.tv_sec) == 0 &&
898 tv_start.tv_usec = tv_start_usec;
902 timeval_diff_msecs(&ioloop_timeval, &tv_start);
903 int server_msecs = timeval_diff_msecs(&tv_end, &tv_start);

Completed in 142 milliseconds