CPC G06F 1/04 (2013.01) [H04L 7/0054 (2013.01); H04L 43/0817 (2013.01); H04L 43/0823 (2013.01); H04L 43/0858 (2013.01); H04L 43/106 (2013.01); G01D 9/00 (2013.01); G06F 1/14 (2013.01); H04L 7/0037 (2013.01); H04L 2101/622 (2022.05)] | 20 Claims |
1. A method, comprising:
sampling, with at least one processor, a time of day (TOD) signal based on a trigger to provide a sampled TOD, wherein the sampled TOD comprises a first time value of a clock at a first time interval, and wherein sampling the TOD signal comprises:
removing a discontinuous time sample from a TOD input signal based on a threshold amount of time to provide an estimated TOD signal;
sampling the estimated TOD signal to provide the sampled TOD;
retrieving, with at least one processor, a previous TOD estimate, wherein the previous TOD estimate comprises a second time value of the clock at a second time interval that is prior to the first time interval;
determining, with at least one processor, an internal TOD estimate based on the sampled TOD and the previous TOD estimate;
adding, with at least one processor, the internal TOD estimate to a predetermined time offset to provide a sum; and
determining, with at least one processor, a timestamp based on the discontinuous time sample and the internal TOD estimate, wherein determining the timestamp comprises:
replacing the discontinuous time sample in the sum to provide the timestamp.
|