[LinuxPPS] Kernel configuration and more ......

Rodolfo Giometti giometti at enneenne.com
Tue Oct 30 00:46:52 CET 2007


On Mon, Oct 29, 2007 at 11:01:05PM +0100, Bernhard Schiffner wrote:
> On Monday 29 October 2007 22:39, Rodolfo Giometti wrote:
> > On Mon, Oct 29, 2007 at 08:35:42PM +0000, Paul wrote:
> > > PPS event at 19570298
> 
> Rodolfo,
> 
> what is shown here as "PPS event" time?
> (no pps, no sources here, lazy to use gitweb)
> 
> TIA!
> 
> Bernhard
> 
> -----------------
> was :
> # cat /sys/class/pps/pps0/assert
> 1193688471.903089607#599
  ^^^^^^^^^^ ^^^^^^^^^ ^^^
     |          |       |
  seconds.nanoseconds#sequencenumber

> ...
> PPS event at 19570298
               ^^^^^^^^
                  |
               jiffies

> But only the first makes (UTC-) sense:
> bernd at bs4:~$ date -u -d '1970-01-01 UTC 1193688471 seconds' +"%Y-%m-%d %T %z"
> 2007-10-29 20:07:51 +0000

You are right, seconds are form the epoch.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127



More information about the LinuxPPS mailing list