Searched refs:tv_ref (Results 1 - 2 of 2) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/libusb/
H A Dlinux.c167 struct timeval tv, tv_ref, tv_now; local
184 gettimeofday(&tv_ref, NULL);
185 tv_ref.tv_sec = tv_ref.tv_sec + timeout / 1000;
186 tv_ref.tv_usec = tv_ref.tv_usec + (timeout % 1000) * 1000;
188 if (tv_ref.tv_usec > 1000000) {
189 tv_ref.tv_usec -= 1000000;
190 tv_ref.tv_sec++;
231 if ((tv_now.tv_sec > tv_ref
286 struct timeval tv, tv_ref, tv_now; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/u2ec/
H A Dusbsock.c94 struct timeval tv_ref, tv_now; variable in typeref:struct:timeval
665 gettimeofday(&tv_ref, NULL);
718 if ((tv_now.tv_usec - tv_ref.tv_usec) >= 0)
719 PDEBUG("sec: %ld, msec: %ld\n", tv_now.tv_sec-tv_ref.tv_sec, (tv_now.tv_usec-tv_ref.tv_usec)/1000);
721 PDEBUG("sec: %ld, msec: %ld\n", tv_now.tv_sec-tv_ref.tv_sec-1, (1000000+tv_now.tv_usec-tv_ref.tv_usec)/1000);
757 gettimeofday(&tv_ref, NULL);
855 if ((tv_now.tv_usec - tv_ref.tv_usec) >= 0)
856 PDEBUG("sec: %ld, msec: %ld\n", tv_now.tv_sec-tv_ref
[all...]

Completed in 53 milliseconds