Home
last modified time | relevance | path

Searched refs:tv_diff (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_vsyscall.c191 static double tv_diff(const struct timeval *a, const struct timeval *b) in tv_diff() function
212 d1 = tv_diff(tv_other, tv_sys1); in check_gtod()
213 d2 = tv_diff(tv_sys2, tv_other); in check_gtod()
/external/igt-gpu-tools/tests/
Dkms_flip.c547 struct timeval tv_diff; in check_state_correlation() local
555 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()