Lines Matching refs:tv
243 struct timeval tv;
256 gettimeofday(&tv,NULL);
258 d_round = tv.tv_sec - MAX_OLD;
260 d_round += (tv.tv_sec - d_round)/2;
358 struct timeval tv;
362 if (gettimeofday(&tv, NULL)) /* only do this if needed */
365 f_round = (tv.tv_sec - MAX_OLD);
371 f_round += (tv.tv_sec - f_round)/2; /* set new cutoff */
376 (u_char *)&tv, sizeof(tv));