Home
last modified time | relevance | path

Searched refs:sub_tv (Results 1 – 3 of 3) sorted by relevance

/freebsd/tools/tools/usbtest/
H A Dusb_control_ep_test.c240 struct timeval sub_tv; in usb_port_reset_test() local
275 gettimeofday(&sub_tv, 0); in usb_port_reset_test()
277 if (last_sec != sub_tv.tv_sec) { in usb_port_reset_test()
284 last_sec = sub_tv.tv_sec; in usb_port_reset_test()
286 timersub(&sub_tv, &ref_tv, &res_tv); in usb_port_reset_test()
382 struct timeval sub_tv; in usb_suspend_resume_test() local
434 gettimeofday(&sub_tv, 0); in usb_suspend_resume_test()
436 if (last_sec != sub_tv.tv_sec) { in usb_suspend_resume_test()
443 last_sec = sub_tv.tv_sec; in usb_suspend_resume_test()
445 timersub(&sub_tv, &ref_tv, &res_tv); in usb_suspend_resume_test()
H A Dusb_modem_test.c173 struct timeval sub_tv; in usb_modem_control_ep_test() local
198 gettimeofday(&sub_tv, 0); in usb_modem_control_ep_test()
200 if (last_sec != sub_tv.tv_sec) { in usb_modem_control_ep_test()
209 last_sec = sub_tv.tv_sec; in usb_modem_control_ep_test()
215 timersub(&sub_tv, &ref_tv, &res_tv); in usb_modem_control_ep_test()
270 struct timeval sub_tv; in usb_modem_data_stress_test() local
314 gettimeofday(&sub_tv, 0); in usb_modem_data_stress_test()
316 if (last_sec != sub_tv.tv_sec) { in usb_modem_data_stress_test()
329 last_sec = sub_tv.tv_sec; in usb_modem_data_stress_test()
333 timersub(&sub_tv, &ref_tv, &res_tv); in usb_modem_data_stress_test()
H A Dusb_msc_test.c496 struct timeval sub_tv; in usb_msc_test() local
812 gettimeofday(&sub_tv, 0); in usb_msc_test()
814 if (last_sec != sub_tv.tv_sec) { in usb_msc_test()
829 last_sec = sub_tv.tv_sec; in usb_msc_test()
832 timersub(&sub_tv, &ref_tv, &res_tv); in usb_msc_test()