| 1841 | } |
| 1842 | |
| 1843 | static long timediff(const struct timeval *tv1, const struct timeval *tv2) |
| 1844 | { |
| 1845 | struct timeval tv; |
| 1846 | |
| 1847 | tv.tv_usec = tv1->tv_usec - tv2->tv_usec; |
| 1848 | tv.tv_sec = tv1->tv_sec - tv2->tv_sec; |
| 1849 | |
| 1850 | return ((tv.tv_sec * 1000L) + (tv.tv_usec / 1000L)); |
| 1851 | } |
| 1852 | |
| 1853 | |
| 1854 | /** |
no outgoing calls
no test coverage detected