Lines Matching refs:timetv
24 int do_test( struct timeval timetv, struct timeval tvlast )
37 tvdiff_old = abs_tval(sub_tval(timetv, tvlast));
43 tvdiff_new = sub_tval(timetv, tvlast);
51 printf( "timetv %lli|%07li, tvlast %lli|%07li: tvdiff_old: %lli|%07li -> %i, tvdiff_new: %lli|%07li -> %i, same cond: %s\n",
52 (long long) timetv.tv_sec, timetv.tv_usec,
65 * Both timetv and tvlast iterate over the given range, in all combinations.
72 struct timeval timetv;
75 for ( timetv.tv_sec = start_sec; timetv.tv_sec <= stop_sec; timetv.tv_sec += step_sec )
76 for ( timetv.tv_usec = start_usec; timetv.tv_usec <= stop_usec; timetv.tv_usec += step_usec )
80 int rc = do_test( timetv, tvlast );