Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSPosix/
DNetMonitor.c128 struct timeval tv_start, tv_end, tv_interval; variable
864 tv_interval = tv_end; in mDNSNetMonitor()
865 if (tv_start.tv_usec > tv_interval.tv_usec) in mDNSNetMonitor()
866 { tv_interval.tv_usec += 1000000; tv_interval.tv_sec--; } in mDNSNetMonitor()
867 tv_interval.tv_sec -= tv_start.tv_sec; in mDNSNetMonitor()
868 tv_interval.tv_usec -= tv_start.tv_usec; in mDNSNetMonitor()
869 h = (tv_interval.tv_sec / 3600); in mDNSNetMonitor()
870 m = (tv_interval.tv_sec % 3600) / 60; in mDNSNetMonitor()
871 s = (tv_interval.tv_sec % 60); in mDNSNetMonitor()
872 if (tv_interval.tv_sec > 10) in mDNSNetMonitor()
[all …]