Patent ID: 8812739

Claim:
A method, comprising: initializing a clock on a network device in a computer network; receiving a first timing message at the network device from a reference device in the network, the first timing message having a first timestamp that indicates when the first timing message was transmitted from the reference device; determining a one-way delay using a difference between the first timestamp that indicates when the first timing message was transmitted from the reference device and a first time at which the first timing message was received at the network device; storing the one-way delay at the network device; restarting the clock on the network device; in response to restarting the clock: receiving a second timing message at the network device from the reference device, the second timing message having a second timestamp that indicates when the second timing message was transmitted from the reference device; and calibrating the clock such that a second time at which the network device received the second timing message is the second timestamp plus the stored one-way delay; utilizing a plurality of first timing messages to determine the one-way delay, wherein the plurality of the first timing messages are received from different reference devices; and storing a one-way delay for each of the different reference devices.