The distance procedure calculates the synchronization
distance from the peer variables for the peer.
begin distance(peer) procedure;
DELTA <-- peer.rootdelay + |peer.delay|;
EPSILON <-- peer.rootdispersion + peer.dispersion + phi (sys.clock - peer.update);
LAMBDA <-- EPSILON + | DELTA | over 2 ;
end distance procedure;
Note that, while DELTA may be negative in some cases, both EPSILON and LAMBDA are always positive.
|
|