% % Purpose : There are two common scenarios for synchronization % protocols to apply instantaneous adjustments. The % first is to compute a correction term for the current % interval, and apply the correction when the Clocktime % reaches a specific value. The second is to set the % local counter to a specific value in response to some % event. This file presents a virtual clock based upon % the second scenario and shows that is satisfies the % precision and accuracy requirement of clock % synchronization. %
virtual_clock_2
[(IMPORTING synch_protocol_invariants)
P: posnat, % Nominal duration of a synchronization interval
T0: int, % Clocktime at start of protocol
rho: nnreal, % Bound on drift for a good oscillator
alpha_l, alpha_u: nnreal, % negative and positive read error bounds
pi_0: {pi_0: posreal | P_bound?(P, rho, alpha_l, alpha_u, pi_0)}
] : THEORY
VC2_precision: THEOREM
trace?(ic1, hst) AND
trace?(ic2, hst) AND
initial_precision?(hst, pi_0) AND
synch_protocol_invariants?(hst, pi_0, p_lower, p_upper) AND
max(t(ic1)(0),t(ic2)(0)) <= t1 IMPLIES
abs(VC2(ic1)(t1) - VC2(ic2)(t1)) <= Pi
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.