Lines Matching refs:tvlast
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",
53 (long long) tvlast.tv_sec, tvlast.tv_usec,
65 * Both timetv and tvlast iterate over the given range, in all combinations.
73 struct timeval tvlast;
77 for ( tvlast.tv_sec = start_sec; tvlast.tv_sec <= stop_sec; tvlast.tv_sec += step_sec )
78 for ( tvlast.tv_usec = start_usec; tvlast.tv_usec <= stop_usec; tvlast.tv_usec += step_usec )
80 int rc = do_test( timetv, tvlast );