Searched refs:tv_diff (Results 1 – 2 of 2) sorted by relevance
191 static double tv_diff(const struct timeval *a, const struct timeval *b) in tv_diff() function212 d1 = tv_diff(tv_other, tv_sys1); in check_gtod()213 d2 = tv_diff(tv_sys2, tv_other); in check_gtod()
547 struct timeval tv_diff; in check_state_correlation() local555 timersub(&es2->current_ts, &es1->current_ts, &tv_diff); in check_state_correlation()556 usec_diff = tv_diff.tv_sec * USEC_PER_SEC + tv_diff.tv_usec; in check_state_correlation()