Lines Matching refs:timetv
29 static int do_test( struct timeval timetv, struct timeval tvlast )
42 tvdiff_old = abs_tval(sub_tval(timetv, tvlast));
48 tvdiff_new = sub_tval(timetv, tvlast);
56 printf( "timetv %lli|%07li, tvlast %lli|%07li: tvdiff_old: %lli|%07li -> %i, tvdiff_new: %lli|%07li -> %i, same cond: %s\n",
57 (long long) timetv.tv_sec, (u_long)timetv.tv_usec,
70 * Both timetv and tvlast iterate over the given range, in all combinations.
77 struct timeval timetv;
80 for ( timetv.tv_sec = start_sec; timetv.tv_sec <= stop_sec; timetv.tv_sec += step_sec )
81 for ( timetv.tv_usec = start_usec; timetv.tv_usec <= stop_usec; timetv.tv_usec += step_usec )
85 int rc = do_test( timetv, tvlast );