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

/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_jjy.c211 struct timeval sendTime[MAX_LOOPBACK], delayTime[MAX_LOOPBACK] ; member in struct:jjyunit
3053 gettimeofday( &(up->delayTime[up->iLoopbackCount]), NULL ) ;
3055 up->delayTime[up->iLoopbackCount].tv_sec -= up->sendTime[up->iLoopbackCount].tv_sec ;
3056 up->delayTime[up->iLoopbackCount].tv_usec -= up->sendTime[up->iLoopbackCount].tv_usec ;
3057 if ( up->delayTime[up->iLoopbackCount].tv_usec < 0 ) {
3058 up->delayTime[up->iLoopbackCount].tv_sec -- ;
3059 up->delayTime[up->iLoopbackCount].tv_usec += 1000000 ;
3062 milliSecond = up->delayTime[up->iLoopbackCount].tv_usec / 1000 ;
3063 microSecond = up->delayTime[up->iLoopbackCount].tv_usec - milliSecond * 1000 ;
3064 milliSecond += up->delayTime[u
[all...]

Completed in 179 milliseconds