[LinuxPPS] Why is my ATOM clock a falseticker?

Paul Simons paul at thesimonet.org
Fri Feb 6 23:16:55 CET 2009


And here are the results.  It is good that I'm not losing seconds; it is bad that something is still wrong.

# watch -n1 cat /sys/class/pps/pps1/{clear,assert}

Every 1.0s: cat /sys/class/pps/pps1/clear /sys/class/pps/pps1/assert                                     Thu Feb  5 15:57:39 2009

1233878259.496184165#347453                                                                 Seconds pass Midnight = 57459
1233878258.996184378#347453

Every 1.0s: cat /sys/class/pps/pps1/clear /sys/class/pps/pps1/assert                                     Fri Feb  6 13:13:16 2009

1233954795.497913974#423989                                                                 Seconds pass Midnight = 47596
1233954795.997913264#423990

    423990
 - 347453
     -------
      76537

    86400
 - 57459
    ------
    28941   =  Seconds in the rest of the previous day
 + 47596   =  Seconds in the current day
    -------
    76537

On 02/02/2009, "Cirilo Bernardo" stated:

> On 2/3/09, Paul Simons <paul at thesimonet.org> wrote:
>> Alas, I have to admit that I have no idea what you are talking about.  Which
>> event counter and what time?  And, speaking of time, does anyone know why my
>> time is blank (--- --- -- ---- --:--:--)?
>>
> [snip]
>
> I mean the counter on the PPS /sys/class/pps/pps*/{clear,assert}
> virtual files.  You can just record the current time and the counter
> value on one day, then do the same the next day. The counter should
> match exactly the number of seconds elapsed if the PPS signal has been
> reliable.  You can also check the kernel timestamp associated with the
> counter but that may drift from what NTP reports.
>
> - Cirilo
>


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.enneenne.com/pipermail/linuxpps/attachments/20090206/27855a7e/attachment.htm 


More information about the LinuxPPS mailing list